Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #27500 Possible crash when updating an artifact without a status field
    Infos
    #27500
    Thomas Gerbet (tgerbet)
    2022-06-22 15:42
    2022-06-21 14:07
    29050
    Details
    Possible crash when updating an artifact without a status field

    An issue can occurs when updating an artifact in a tracker without a status field.

    Reproduction scenario:

    1. Create a tracker without a status field
    2. Create a kanban using this tracker
    3. Update an artifact in this tracker

    Trace:

    PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/Kanban/RealTime/KanbanArtifactMessageBuilder.php:73
    Stack trace:
    #0 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/Kanban/RealTime/KanbanArtifactMessageSender.php(84): Tuleap\AgileDashboard\Kanban\RealTime\KanbanArtifactMessageBuilder->buildArtifactMoved()
    #1 /usr/share/tuleap/plugins/agiledashboard/include/AgileDashboard/RealTime/RealTimeArtifactMessageController.php(74): Tuleap\AgileDashboard\Kanban\RealTime\KanbanArtifactMessageSender->sendMessageArtifactMoved()
    #2 /usr/share/tuleap/plugins/agiledashboard/include/agiledashboardPlugin.php(1308): Tuleap\AgileDashboard\RealTime\RealTimeArtifactMessageController->sendMessageForKanban()
    #3 /usr/share/tuleap/src/common/Event/EventManager.class.php(127): AgileDashboardPlugin->trackerArtifactUpdated()
    #4 /usr/share/tuleap/src/common/Plugin/PluginLoader.php(72): EventManager->eventMa
    
    Agile Dashboard
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2022-06-22
    Attachments
    Empty
    References
    Referenced by request #27500

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2022-06-21 14:19

    • Summary
      -Possible when updating an artifact without a status field  
      +Possible crash when updating an artifact without a status field  
    • Status changed from Under implementation to Under review