•  
      request #19192 Agile dashboard no more published in Mattermost
    Infos
    #19192
    Aurélien Tisné (atisne)
    2021-01-15 15:54
    2021-01-15 14:50
    20770
    Details
    Agile dashboard no more published in Mattermost
    Since an upgrade from v11.18 to v12.1, the Agile dashboard is no more published in our Mattermost channel.

    PHP Fatal error: Uncaught TypeError: Argument 1 passed to Tuleap\BotMattermostAgileDashboard\SenderServices\StandUpNotificationBuilder::checkModificationOnArtifact() must be an instance of Tuleap\Tracker\Artifact\Artifact, instance of Tracker_Artifact given, called in /usr/share/tuleap/plugins/botmattermost_agiledashboard/include/BotMattermostAgileDashboard/SenderServices/StandUpNotificationBuilder.php on line 157 and defined in /usr/share/tuleap/plugins/botmattermost_agiledashboard/include/BotMattermostAgileDashboard/SenderServices/StandUpNotificationBuilder.php:178
    Stack trace:
    #0 /usr/share/tuleap/plugins/botmattermost_agiledashboard/include/BotMattermostAgileDashboard/SenderServices/StandUpNotificationBuilder.php(157): Tuleap\BotMattermostAgileDashboard\SenderServices\StandUpNotificationBuilder->checkModificationOnArtifact(Object(Tracker_Artifact))
    #1 /usr/share/tuleap/plugins/botmattermost_agiledashboard/include/BotMattermostAgileDashboard/SenderServices/StandUpNotificationBuilder.php(97): Tuleap\BotMattermostAgileDashbo in /usr/share/tuleap/plugins/botmattermost_agiledashboard/include/BotMattermostAgileDashboard/SenderServices/StandUpNotificationBuilder.php on line 178
    Bot Mattermost
    Empty
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Declined
    Empty
    Attachments
    Empty
    References
    Referenced by request #19192

    Follow-ups

    User avatar
    > I have linked the review with the appropriate changes in my first follow-up.
    You're right. I missed it. I will give it a try.

    > In any case, I do not recommend running an outdated OS on production.
    Sure. It's on the way.

    Thanks a lot for your support.
    User avatar
    Thomas Gerbet (tgerbet)2021-01-15 15:46
    I have linked the review with the appropriate changes in my first follow-up. A base64 encoded patch can be downloaded directly from here: https://gerrit.tuleap.net/changes/plugin-bot-mattermost-agiledashboard~20480/revisions/1/patch?download

    In any case, I do not recommend running an outdated OS on production.

    I'm marking this request as declined, I checked just to be sure but the plugin works on CentOS/RHEL7.

    • Status changed from Waiting for information to Declined
    User avatar
    Bad news :-(

    Do you know if it may be easy to fix (in 12.1) or the amount of code will be too large?
    User avatar
    Thomas Gerbet (tgerbet)2021-01-15 15:04
    Hello,

    What version of the bot mattermost agile dashboard plugin are you running?
    Your stack trace looks like you do not have the appropriate version, the code has been modified in gerrit #20480.