dspace-angular
dspace-angular copied to clipboard
Current item's metadata are cleared from display in the Edit item metadata page while editing
Describe the bug While editing an item's metadata via the Edit item Metadata tab, occasionally all the metadata values are wiped off apart for the value currently being edited - see screenshot attached from the current DSpace7 DEMO site.
I have replicated this behaviour both in my DSpace 7.4 updated environments and in the DEMO site, e.g. https://demo7.dspace.org/items/a1c5ed83-7bee-4e64-b66d-df3671d78459/edit/metadata
To Reproduce Steps to reproduce the behavior:
- As an Admin user, choose a random item and go to edit page
- From the metadata tab, add a value and save
- Then edit any value and after a couple of seconds the screen refreshes and no metadata values are shown
Expected behavior All existing metadata are shown as expected
Related work
Link to any related tickets or PRs here.

Forgot to attach the browser console log for the demo site. The relevant error:
tn @ main.b4b30eb84e5d44b9.js:1 main.b4b30eb84e5d44b9.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'changeType')
Thanks @amgciadev : This sounds like some sort of UI caching issue. I'll pull this over to our 7.5 board and assign.
@artlowel : Is this of interest to your team perhaps?
@tdonohue yes, we'd like to claim this ticket