Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Flagged
-
Orion
-
Orion.Cycle6.Sprint
-
Undetermined
Description
Steps to reproduce :
- Login with author role, edit any offline document
- Request for publication
- Login with editor/admin
- Go to the requested document
- Reject publication
- Delete the document
- Go to home page
Actual result : Pending requests panel is still displaying the document for need of action
Expected result: Request should disappear once document get deleted from home page request panel
--------------
The customer-facing issue in production where the pending requests panel is displaying actions for users against documents that appear to be deleted.
When the client run the below query that the panel uses in the repository:
SELECT * FROM hippostdpubwf:request WHERE NOT hippostdpubwf:type = 'rejected' OR hippostdpubwf:username='USER' ORDER BY hippostdpubwf:creationDate DESC
They observed the results of returning items from the attic which contains deleted documents with publication requests.
When users click on the item, it is taken to a blank page where users are unable to perform any action.
Given that the panel is configured to display 16 items at present, these action items are permanently displayed and therefore cannot be cleared.
The customer also mentioned that the panel should not display pending actions for documents found in the attic folder.