•  
      request #10187 Accessing the access logs of Git in a project generates a fatal error
    Infos
    #10187
    Thomas Gerbet (tgerbet)
    2017-04-26 17:36
    2017-04-26 16:02
    10456
    Details
    Accessing the access logs of Git in a project generates a fatal error
    The following stack trace is raised:
    Fatal error: Uncaught exception 'Exception' with message 'DateInterval::__construct() [<a href='dateinterval.--construct'>dateinterval.--construct</a>]: Unknown or bad format (PD)' in /usr/share/tuleap/plugins/git/include/GitLog.class.php on line 88
    ( ! ) Exception: DateInterval::__construct() [<a href='dateinterval.--construct'>dateinterval.--construct</a>]: Unknown or bad format (PD) in /usr/share/tuleap/plugins/git/include/GitLog.class.php on line 88
    Call Stack
    # Time Memory Function Location
    1 0.0027 738192 {main}( ) ../source_code_access.php:0
    2 0.3075 11006160 plugins_logs_daily( ) ../source_code_access.php:140
    3 0.3075 11006160 plugins_log_extract( ) ../source_code_access_utils.php:498
    4 0.3077 11007312 EventManager->processEvent( ) ../source_code_access_utils.php:491
    5 0.3530 12482120 EventManager->processEventOnListener( ) ../EventManager.class.php:77
    6 0.3530 12482120 PluginProxy->processEvent( ) ../EventManager.class.php:91
    7 0.3530 12482120 GitPlugin->logsDaily( ) ../PluginProxy.php:57
    8 0.4071 13664696 Git->logsDaily( ) ../gitPlugin.class.php:1198
    9 0.4092 13707560 GitLog->logsDaily( ) ../Git.class.php:1627
    10 0.4092 13707560 GitLog->getGitReadLogFilter( ) ../GitLog.class.php:52
    11 0.4094 13707656 GitLog->getDateFilter( ) ../GitLog.class.php:68
    12 0.4095 13708672 DateInterval->__construct( ) ../GitLog.class.php:88
    SCM/Git
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-04-26
    Attachments
    Empty
    References

    Follow-ups