Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
ERM Sprint 103, ERM Sprint 104, ERM Sprint 105
-
Bienenvolk
Description
Overview:
When the user tries to delete a Term which has been applied to a license the error message "There was an error deleting term [term_name]: org.hibernate.exception.ConstraintViolationException: could not execute statement" is displayed.
Steps to Reproduce:
- Log into snapshot as diku_admin.
- In the license app, Edit a license.
- Apply a term and Save the license.
- Open the Settings app and go to Licenses > Terms,
- Locate the term applied in step 3 and select "Delete",
- Confirm the deletion (select the "Delete" button in the "Delete term" modal").
Expected Results:
A dismissable callout should be displayed with the text "Error: Term [term name] was not deleted because it is in use on one or more licenses or amendments." as shown in the mockup.
Actual Results:
A dismissable callout is displayed with the error message "There was an error deleting term [term_name]: org.hibernate.exception.ConstraintViolationException: could not execute statement"
Additional info
The same error is displayed when the term is applied to an Amendment rather than a license.
TestRail: Results
Attachments
Issue Links
- is cloned by
-
ERM-1218 Incorrect error message is displayed when the user deletes a supplementary property which is in use on an agreement
-
- Closed
-
- relates to
-
ERM-539 Licenses | Provide user friendly error message on attempting to delete term
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...