-
Notifications
You must be signed in to change notification settings - Fork 504
Labels
affects: 9.xIssue impacts 9.x releasesIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).bugclaimed: AtmireAtmire team is working on this issue & will contribute backAtmire team is working on this issue & will contribute backcomponent: Item(Archived) Item display or editing(Archived) Item display or editing
Milestone
Description
Describe the bug
On DSpace 9, Embargo status badge for bitstreams are visible only when navigating to item pages. If the page is refreshed or if a user directly lands on an item page, then they are not rendered.
To Reproduce
Steps to reproduce the behavior:
- Enable the config property
item.bitstream.showAccessStatuses - Make an item with at least one embargoed item
- Navigate to the item page and verify that the embargo badge shows up
- Refresh the page and the badge would now disappear
Expected behavior
The badge should be rendered at all times, if there is an embargo in place
Related work
This is caused by reassigning accessStatus$ inside a subscription in AccessStatusBadgeComponent#handleBitstream(). I will write a fix for this.
Metadata
Metadata
Assignees
Labels
affects: 9.xIssue impacts 9.x releasesIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).bugclaimed: AtmireAtmire team is working on this issue & will contribute backAtmire team is working on this issue & will contribute backcomponent: Item(Archived) Item display or editing(Archived) Item display or editing
Type
Projects
Status
✅ Done