-
Notifications
You must be signed in to change notification settings - Fork 504
Open
Labels
bugcomponent: administrative toolsRelated to the admin menu or toolsRelated to the admin menu or toolscomponent: workflowhelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Description
Describe the bug
After clicking an item in the Administer Workflow search result list, the search filter / facet requests are sent and come back with 400 errors. I suspect that in some cases this prevents further proper execution of typescript in the item view component.
GET https://demo.dspace.org/server/api/discover/facets/namedresourcetype?page=0&size=10 400 (Bad Request)
GET https://demo.dspace.org/server/api/discover/facets/itemtype?page=0&size=10 400 (Bad Request)
GET https://demo.dspace.org/server/api/discover/facets/supervisedBy?page=0&size=10 400 (Bad Request)
After refreshing the item page, it is loaded properly and the facets are not requested.
I assume it's some subscription or route that is not properly cleared? But I am not entirely sure.
To Reproduce
Steps to reproduce the behavior:
- Open a javascript console or network inspector so you can see failed requests
- Log in as an Administrator
- Visit the Administer Workflow page (requires at least 1 item to be in workspace or workflow)
- Note that there are no errors in the javascript console and the facets work
- Click an item from the list, and note the 400 errors displayed
- Refresh the item page and note the lack of errors
Expected behavior
The facets should not be requested when viewing an item.
Related work
Possibly related to #3975 and its related issues/PRs.
Metadata
Metadata
Assignees
Labels
bugcomponent: administrative toolsRelated to the admin menu or toolsRelated to the admin menu or toolscomponent: workflowhelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Type
Projects
Status
📋 To Do