Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
ERM Sprint 117
-
Bienenvolk
Description
Overview:
Following implementation of ERM-1540 updating Organisation roles does not correctly update the role
Steps to Reproduce:
- Make sure there are at least two values in the SubscriptionAgreementOrg.Role ref data category (e.g. Role1, Role2)
- Create an agreement, add an Organization with role = Role1, save the agreement
- Agreement saved correctly
- Edit agreement, and change existing role to Role2, save the Agreement
- 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: