•  
      request #19261 Crash when trying to see the last 7 months of accesses of the Git plugin
    Infos
    #19261
    Thomas Gerbet (tgerbet)
    2021-02-03 13:48
    2021-02-03 12:13
    20838
    Details
    Crash when trying to see the last 7 months of accesses of the Git plugin
    Reproduction scenario:
    1. Have a project with the Git plugin enabled
    2. Go to the project administration of this project and ask to see the last 7 months of accesses


    Trace:
    Fatal error: Uncaught Exception: DateInterval::__construct(): Unknown or bad format (P213.5D) in /usr/share/tuleap/plugins/git/include/GitLog.class.php on line 130
    Exception: DateInterval::__construct(): Unknown or bad format (P213.5D) in /usr/share/tuleap/plugins/git/include/GitLog.class.php on line 130
    Call Stack
    # Time Memory Function Location
    1 0.0024 405696 {main}( ) .../source_code_access.php:0
    2 0.3300 8187304 plugins_logs_daily( ???, ???, ??? ) .../source_code_access.php:137
    3 0.3300 8187304 plugins_log_extract( ???, ???, ??? ) .../source_code_access_utils.php:474
    4 0.3300 8187784 EventManager->processEvent( ???, ??? ) .../source_code_access_utils.php:467
    5 0.3434 8501168 EventManager->processEventOnListener( ???, ???, ??? ) .../EventManager.class.php:104
    6 0.3434 8501168 Tuleap\Plugin\PluginLoader->Tuleap\Plugin\{closure:/usr/share/tuleap/src/common/plugin/PluginLoader.php:70-73}( ???, ??? ) .../EventManager.class.php:116
    7 0.3434 8501168 EventManager->eventManagerDispatch( ???, ???, ???, ???, ??? ) .../PluginLoader.php:72
    8 0.3434 8501168 GitPlugin->logsDaily( ??? ) .../EventManager.class.php:127
    9 0.3808 9043184 Git->logsDaily( ??? ) .../gitPlugin.php:1317
    10 0.3811 9047992 GitLog->logsDaily( ??? ) .../Git.class.php:1376
    11 0.3811 9047992 GitLog->getGitReadLogFilter( ???, ???, ??? ) .../GitLog.class.php:53
    12 0.3811 9048368 GitLog->getDateFilter( ??? ) .../GitLog.class.php:103
    13 0.3811 9048808 __construct ( ??? ) .../GitLog.class.php:130
    SCM/Git
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2021-02-03
    Attachments
    Empty
    References

    Follow-ups