•  
      request #13815 Notifications of the bot Mattermost AgileDashboard plugin are not sent
    Infos
    #13815
    Thomas Gerbet (tgerbet)
    2019-08-28 09:56
    2019-08-27 17:48
    14372
    Details
    Notifications of the bot Mattermost AgileDashboard plugin are not sent
    Some dependency injections have not been updated in the agiledashboard plugin and as a result when the command "tuleap launch-every-minute-job" is executed the command crashes.

    Trace:
    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Tuleap\Tracker\Semantic\Timeframe\TimeframeBuilder::__construct(), 2 passed in /usr/share/tuleap/plugins/botmattermost_agiledashboard/include/botmattermost_agiledashboardPlugin.class.php on line 151 and exactly 3 expected in /usr/share/tuleap/plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeBuilder.php:55
    Stack trace:
    #0 /usr/share/tuleap/plugins/botmattermost_agiledashboard/include/botmattermost_agiledashboardPlugin.class.php(151): Tuleap\Tracker\Semantic\Timeframe\TimeframeBuilder->__construct(Object(Tracker_FormElementFactory), Object(Tuleap\Tracker\Semantic\Timeframe\SemanticTimeframeBuilder))
    #1 /usr/share/tuleap/src/common/Event/EventManager.class.php(130): botmattermost_agiledashboardPlugin->cron_job_every_minute(Object(Tuleap\Cron\EventCronJobEveryMinute))
    #2 /usr/share/tuleap/src/common/plugin/PluginLoader.php(63): EventManager->eventManagerDispatch('cron_job_every_...', Object(botmattermost_agiledashboardPlugin), 'cron_job_every_. in /usr/share/tuleap/plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeBuilder.php on line 55
    Empty
    Bot Mattermost
    11.5
    Empty
    Empty
    Stage
    Empty
    Closed
    2019-08-28
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups

    • User avatar
      gerrit #15956 integrated into botmattermost_agiledashboard

      • Status changed from Under review to Closed
      • Connected artifacts
      • Close date set to 2019-08-28
    • User avatar
      Fix cen be reviewed here: gerrit #15956.

      • Summary
        -Notification of the bot Mattermost AgileDashboard are not sent 
        +Notifications of the bot Mattermost AgileDashboard plugin are not sent 
      • Status changed from Under implementation to Under review