•  
      request #14696 Bind_Ugroups does not properly check field dependencies
    Infos
    #14696
    Nicolas Terray (nterray)
    2020-04-29 15:48
    2020-03-17 10:47
    15946
    Details
    Bind_Ugroups does not properly check field dependencies

    Given I have a Selectbox field "SOURCE" with values [A, B]
    And a Selectbox or Multiselectbox field TARGET bound to user groups with values [project_members],
    And there is a field dependency with:

    • SOURCE[A] => TARGET[project_members]
    • SOURCE[B] => TARGET[/None/]

    When there is an artifact with { SOURCE: A, TARGET: project_members }
    And we do a REST call PUT /artifact/:id with

    
    {
      values: [
        { field_id: <SOURCE id>, bind_values_ids: [ <B id> ] },
        { field_id: <TARGET id>, bind_values_ids: [ 100 ] }
      ]
    }

    Then we should not get any error.

    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed
    2020-04-29
    Attachments
    Empty
    References

    Follow-ups