You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigating on some cris system leads to repetitive reloads of the layout when surfing entities page from referenced entities because the resolved itemurl is hard redirected. This impact the user experience
Describe the bug
Navigating on some cris system leads to repetitive reloads of the layout when surfing entities page from referenced entities because the resolved itemurl is hard redirected. This impact the user experience
To Reproduce
Steps to reproduce the behavior:
2023.02.00
for example https://tore.tuhh.de/homeExpected behavior
We expect the page not to be loaded again when accessing the site with some browser.
Related work
The metadata-link-view build the route link using
/items/uuid
dspace-angular/src/app/shared/metadata-link-view/metadata-link-view.component.html
Line 8 in 4d707bf
The item-page.resolver uses some new behaviour
0564b8e
if thisRoute is not itemRoute (e.g.
/items/uuid
!=entitites/sometype/uuid
)dspace-angular/src/app/item-page/item-page.resolver.ts
Line 55 in 4d707bf
it redirects hard to
/entities/sometype/uuid
dspace-angular/src/app/item-page/item-page.resolver.ts
Line 58 in 4d707bf
Possible Solutions:
return the redirect behaviour for browser or change the metadata-link-view component to use the ItemPageRoute.
The text was updated successfully, but these errors were encountered: