Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1749

On updating an existing organisation role the role value is updated but not the role label

    XMLWordPrintable

Details

    • ERM Sprint 117
    • Bienenvolk

    Description

      Overview:

      Following implementation of ERM-1540 updating Organisation roles does not correctly update the role

      Steps to Reproduce:

      1. Make sure there are at least two values in the SubscriptionAgreementOrg.Role ref data category (e.g. Role1, Role2)
      2. Create an agreement, add an Organization with role = Role1, save the agreement
      3. Agreement saved correctly
      4. Edit agreement, and change existing role to Role2, save the Agreement
      5. View agreement - notice that the Org is still listed as "Role1". Check the JSON returned from the endpoint - note that the role has label == "Role1" but value == "role2"

      Expected Results:

      The Role should only be able to have a label and value consistent with the ref data. When the role is saved, the correct value should be saved and the label should reflect the saved value

      Actual Results:

      The role is saved with a new value but incorrect label

      Additional Information:
      URL:
      Interested parties:

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases