•  
      request #17909 Cannot display an artifact affected by only one workflow transition rule
    Infos
    #17909
    Joseph Guagenti (joseph.guagenti)
    2020-10-28 17:01
    2020-10-26 17:16
    19002
    Details
    Cannot display an artifact affected by only one workflow transition rule

    When using Transition Simple Mode (Freeze Fields, Hide Fieldsets) artifact data not displaying. Turn on Use advanced configuration will display artifact data. Turn off Use advanced configuration and artifact data will no longer display.

    [error] 29467

    #0: *36 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined offset: 0 in /usr/share/tuleap/plugins/tracker/include/Workflow/SimpleMode/State/TransitionExtractor.php on line 38

    PHP message: PHP Fatal error: Uncaught TypeError: Return value of  Tuleap\Tracker\Workflow\SimpleMode\State\TransitionExtractor::extractReferenceTransitionFromState() must be an instance of Transition, null returned in /usr/share/tuleap/plugins/tracker/include/Workflow/SimpleMode/State/TransitionExtractor.php:38

    Stack trace:

    #0 /usr/share/tuleap/plugins/tracker/include/Workflow/SimpleMode/State/TransitionRetriever.php(76): Tuleap\Tracker\Workflow\SimpleMode\State\TransitionExtractor->extractReferenceTransitionFromState(Object(Tuleap\Tracker\Workflow\SimpleMode\State\State))

    #1 /usr/share/tuleap/plugins/tracker/include/Workflow/PostAction/FrozenFields/FrozenFieldDetector.php(48): Tuleap\Tracker\Workflow\SimpleMode\State\TransitionRetriever->getReferenceTransitionForCurrentState(Object(Tuleap\Tracker\Artifact\Artifact))

    #2 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php(762): Tuleap\Tracker\Workflow\PostAction\FrozenFields\FrozenFieldDetector->isFiel" while reading upstream, client: 0.0.0.200, server: removed.net, request: "GET /plugins/tracker/?report=3284&renderer=-2&pv=0 HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "removed", referrer: "https://removed.net/plugins/tracker/?report=3284&renderer=-2"

     

    Trackers
    12.1
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2020-10-28
    Attachments
    Empty
    References

    Follow-ups

    • User avatar

      gerrit #20582 integrated in Tuleap 12.1.99.101


      • Status changed from Under review to Closed
      • Assigned to changed from None to Thomas Gerbet (tgerbet)
      • Connected artifacts
      • Close date set to 2020-10-28
    • User avatar
      Thomas Gerbet (tgerbet)2020-10-27 09:08
      Hello,

      Thanks for the report! A patch is under review to fix the issue: gerrit #20582.

      • Summary
        -Workflow Transition rules Simple Mode Artifact not displayed 
        +Cannot display an artifact affected by only one workflow transition rule 
      • Status changed from New to Under review
      • Platform cleared values: CentOS 7