Describe the bug
On the Demo site (DSpace 9.1-SNAPSHOT and dspace-angular 9.2.0-next), when trying to edit an Item, I'm unable to do it so, seeming that the page is loading indefinitely.
Inspecting the result, I'm getting an error:
main.44fb3bf53a3d1a0e.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'id')
at Object.next (2306.cec134b81f74a0c6.js:1:11551)
at P.next (main.44fb3bf53a3d1a0e.js:1:2014365)
at h._next (main.44fb3bf53a3d1a0e.js:1:2014049)
at h.next (main.44fb3bf53a3d1a0e.js:1:2013744)
at main.44fb3bf53a3d1a0e.js:1:2027250
at c._next (main.44fb3bf53a3d1a0e.js:1:2024913)
at c.next (main.44fb3bf53a3d1a0e.js:1:2013744)
at subscribe.E (main.44fb3bf53a3d1a0e.js:1:2032705)
at c._next (main.44fb3bf53a3d1a0e.js:1:2024913)
at c.next (main.44fb3bf53a3d1a0e.js:1:2013744)
handleError @ main.44fb3bf53a3d1a0e.js:1
next @ main.44fb3bf53a3d1a0e.js:1
...
If I refresh the page, I'm able to edit the Item.
To Reproduce
Steps to reproduce the behavior:
- Login as a "Demo Community Administrator"
- On "My DSpace" area, pick an Item and Edit it.
Expected behavior
I'm expecting to edit an Item.
Describe the bug
On the Demo site (DSpace 9.1-SNAPSHOT and dspace-angular 9.2.0-next), when trying to edit an Item, I'm unable to do it so, seeming that the page is loading indefinitely.
Inspecting the result, I'm getting an error:
If I refresh the page, I'm able to edit the Item.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'm expecting to edit an Item.