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 #44069 PHP error Artifact::title accessed before initialization
    Infos
    #44069
    Joris MASSON (jmasson)
    2025-07-30 09:29
    2025-07-29 18:21
    45821
    Details
    PHP error Artifact::title accessed before initialization

    Given a tracker that we will call "Parent" with no "Title" semantic defined, and given that tracker is also parent in a tracker hierarchy of some tracker that we will call "Child", when you edit an artifact in "Child" tracker and you use the new artifact links edition, there will be a PHP error like the following:

    PHP Fatal error:  Uncaught Error: Typed property Tuleap\Tracker\Artifact\Artifact::$title must not be accessed before initialization in /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Artifact.php:710
    

    There should not be an error if the tracker has no "Title" semantic.

    Workarounds

    1. Define a Title semantic in the Parent tracker
    2. Uncheck the option for the "New artifact links edition" in the Child tracker
    Trackers
    16.10
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2025-07-30
    Attachments
    Empty
    References
    Referenced by request #44069

    Follow-ups