•  
      request #40091 Improve logs for rule dependencies
    Infos
    #40091
    Marie Ange Garnier (marieange)
    2024-10-22 16:32
    2024-10-22 10:06
    41717
    Details
    Improve logs for rule dependencies

    When global rules are not respected, and when it's done by an action not directly on UI (copy/move/program management...) we only have in logs:

    2024-10-08T10:57:44-04:00 [3883678] [error] Caught exception: Global rules are not respected:
    #0 /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetValidator.php(88): Workflow->checkGlobalRules()
    #1 /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreator.php(72): Tuleap\Tracker\Artifact\Changeset\NewChangesetValidator->validateNewChangeset()
    

    It wouls be handy to have the same information that are displayed when can't update an artifact due to global rules

    Trackers
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2024-10-22
    Attachments
    Empty
    References

    Follow-ups