•  
      request #11027 Changeset value can be null
    Infos
    #11027
    Nicolas Terray (nterray)
    2018-01-18 10:47
    2018-01-18 10:25
    10729
    Details
    Changeset value can be null
    If a field has no record in db on a changeset, then the method Tracker_Artifact::getValue($field) will return null. Therefore we have to check the returned value before calling methods on it.

    I didn't manage to reproduce the case but at least we should respect the method signature.

    This contribution only targets the display of ugroup permissions in project admin page: 
    Given an artifact has permission on artifact set to a specific ugroup
    And the semantic title is set to a field that is not present in the last changeset of the artifact
    When you display the ugroup settings in project admin
    Then there should be no fatal error
    Empty
    Trackers
    All
    Empty
    Empty
    Stage
    Empty
    Closed
    2018-01-18
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups