Describe the bug
When deleting a custom URL via Administer Item, it does correctly auto-generate a new url for the item page. However, it isn't possible to navigate to the new item page directly from Administer anymore. The "Back" button returns to the originally set custom url.
Reported by Grazia Quercia: "After deleting the metadata from the administration page, the back button leads to the right Person item page, but with URL I see remains the custom one. If I refresh, a 404 error is returned (correct cause that URL doesn't exist anymore). To visualize the auto-generated URL I have to navigate somewhere else, then return on the Person item page. There, the URL I see is the auto-generated one.
To Reproduce
Steps to reproduce the behavior:
- Go to a Person page with custom URL set
- Get to metadata via menu on top right -> Administer.
- Delete dspace.customurl from the metadata and Save.
- Click on "Back" to return to the item page.
- Observe that it takes you to the original custom url still.
You can access the correct new auto-generated url by navigating to the item again via search etc., but not directly.
Expected behavior
Clicking "Back" from the Administer page takes you to the correct (and current) item page path - or there is another obvious way to access the correct item page from Administer.
Related work
Merger feature: Custom URLs
Describe the bug
When deleting a custom URL via Administer Item, it does correctly auto-generate a new url for the item page. However, it isn't possible to navigate to the new item page directly from Administer anymore. The "Back" button returns to the originally set custom url.
Reported by Grazia Quercia: "After deleting the metadata from the administration page, the back button leads to the right Person item page, but with URL I see remains the custom one. If I refresh, a 404 error is returned (correct cause that URL doesn't exist anymore). To visualize the auto-generated URL I have to navigate somewhere else, then return on the Person item page. There, the URL I see is the auto-generated one.
To Reproduce
Steps to reproduce the behavior:
You can access the correct new auto-generated url by navigating to the item again via search etc., but not directly.
Expected behavior
Clicking "Back" from the Administer page takes you to the correct (and current) item page path - or there is another obvious way to access the correct item page from Administer.
Related work
Merger feature: Custom URLs