-
Couldn't load subscription status.
- Fork 490
Open
Labels
Estimate TBDbugcomponent: configurable entitiesrelated to configurable entitiesrelated to configurable entitiescomponent: submissionmedium priorityperformance / cachingRelated to performance, caching or embedded objectsRelated to performance, caching or embedded objects
Description
Describe the bug
When using Configurable Entities, if you add a related Entity and then delete the relationship, the deleted relationship still appears to exist in the Lookup window
To Reproduce
Steps to reproduce the behavior:
- First, tested using the demo Entities data & Collections configured to match that data: https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data This same environment exists on https://api7.dspace.org
- Create a new Submission in the "People" collection. This uses the Person form
- In the "Publication" field, select an existing Publication to link to this Person. The Publication should appear back on the Submission form. Close the Lookup window.
- On the Submission form, click the delete button next to that Publication. If you have Chrome DevTools open, you should see the DELETE request returns a 204. The Publication disappears from the submission form.
- Click on the Lookup button again (opening the Lookup window). In that window the Publication will still appear as selected. (This is incorrect, as the Person should no longer be related to any Publication)
Expected behavior
After deleting the relationship, the Lookup window should no longer show any selected value.
Related work
Discovered when testing #1096, but it was not caused by that PR.
Metadata
Metadata
Assignees
Labels
Estimate TBDbugcomponent: configurable entitiesrelated to configurable entitiesrelated to configurable entitiescomponent: submissionmedium priorityperformance / cachingRelated to performance, caching or embedded objectsRelated to performance, caching or embedded objects
Type
Projects
Status
📋 To Do