•  
      request #13383 A cycle in the artifact hierarchy should not put the workflow trigger rules processor in a infinite loop
    Infos
    #13383
    Thomas Gerbet (tgerbet)
    2019-06-03 10:18
    2019-05-17 10:16
    14501
    Details
    A cycle in the artifact hierarchy should not put the workflow trigger rules processor in a infinite loop
    It's expected to not be possible to set the parent of an artifact to itself. However some reports on a production instance has shown it might happen in some undetermined situations.
    In any case the code should be a bit more defensive and try to block it if happens so we do not end up in a infinite loop.
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2019-05-17
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2019-05-17 11:55
    Fix can be found here: gerrit #14989.

    • Summary
      -Make sure an artifact parent of itself does not make the workflow trigger rules processor go in an infinite loop 
      +A cycle in the artifact hierarchy should not put the workflow trigger rules processor in a infinite loop 
    • Status changed from Under implementation to Under review