Describe the bug
JSON patch operations are queued inside the json/patch feature of the ngrx store.
When the user leaves the submission page without saving, this pending json patch operations are not removed and could be commited on behalf of the user during possible following submissions.
To Reproduce
- Start a new submission (ex. Publication)
- Edit the author field (dc.contributor.author metadata). (new store state is shown below)

- Navigate to a different page (ex. My Dspace)
- Start a new submission of the same kind
- Edit the title field (dc.title) (new store state is shown below)

- Save
- The previous author value has been committed too.
Expected behavior
A submission shouldn't be affected by previous user's submission interactions.
Describe the bug
JSON patch operations are queued inside the json/patch feature of the ngrx store.
When the user leaves the submission page without saving, this pending json patch operations are not removed and could be commited on behalf of the user during possible following submissions.
To Reproduce
Expected behavior
A submission shouldn't be affected by previous user's submission interactions.