•  
      request #13376 Artifact modal can not open an artifact with a field without value on which a workflow is defined
    Infos
    #13376
    Thomas Gerbet (tgerbet)
    2019-05-13 17:30
    2019-05-13 13:47
    14497
    Details
    Artifact modal can not open an artifact with a field without value on which a workflow is defined
    In some cases artifacts might not have a value for a field, as a result, the field will not be present when calling GET /artifacts/{id}.

    When this field without value is used in a workflow, the modal will not be able to initialize itself.

    Trace:
    TypeError: "t[n.field_id] is undefined"
    u https://tuleap.example.com/assets/agiledashboard/scripts//kanban-348431267aa917b91b57.js:70
    initEditionModalModel https://tuleap.example.com/assets/agiledashboard/scripts//kanban-348431267aa917b91b57.js:70
    Angular 6
    l
    l
    $digest
    evalAsync
    completeTask
    r
    Possibly unhandled rejection: {} angular-03b33dcf778c7d79e990.js:7:78649
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2019-05-13
    Attachments
    Empty
    References

    Follow-ups