-
Notifications
You must be signed in to change notification settings - Fork 504
Open
Labels
affects: 8.xIssue impacts 8.x releasesIssue impacts 8.x releasesaffects: 9.xIssue impacts 9.x releasesIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).bugcomponent: MyDSpacehelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forwardhigh priority
Description
Describe the bug
Opening a workflow item for a review can result in an error that makes it look like DSpace is still loading data (infinite loading spinner appears), while an error is shown in the console log.
The bug is reproducible.
To Reproduce
- Open the list of Workflow tasks and claim any item with the result the "EDIT"-Button (and others) appear
- (Open your browser dev tools to watch at the browser console)
- Reload the whole page of the Workflow tasks or open a new tab, https://demo.dspace.org/mydspace?configuration=workflow - (Its important to hard-reload the complete page - do not navigate previously on any other pages)
- Now wait for - lets say - 10 seconds or any longer
- Now click on the "EDIT"-Button of the previously claimed item
- This error occurs:
ERROR TypeError: can't access property "id", O.payload.collection is undefined
The error leads to this code line:
| this.collectionId = (submissionObjectRD.payload.collection as Collection).id; |
Expected behavior
I expect the edit form page to open, as it works when I click the EDIT button directly after performing a hard reload without waiting for some seconds.
The steps mentioned to reproduce the bug are just for visualisation purposes. I'm sure there are other click sequences that lead to the same error when using DSpace all day long.
Tested on https://demo.dspace.org/ (v9) and https://sandbox.dspace.org/ (v10) as well on our customized v8 instance.
Screenshot
Related work
MW3000
Metadata
Metadata
Assignees
Labels
affects: 8.xIssue impacts 8.x releasesIssue impacts 8.x releasesaffects: 9.xIssue impacts 9.x releasesIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).bugcomponent: MyDSpacehelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forwardhigh priority
Type
Projects
Status
π To Do
