Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15837

Pending request panel displays unactionable items

    XMLWordPrintable

Details

    Description

      Steps to reproduce :

      1. Login with author role, edit any offline document
      2. Request for publication
      3. Login with editor/admin
      4. Go to the requested document
      5. Reject publication
      6. Delete the document
      7. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rsailada Rajesh Sailada
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: