Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25773

Reading recently viewed trashed document results in 404

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10, 10.2
    • Fix Version/s: 9.10-HF18, 10.3
    • Component/s: Web UI
    • Release Notes Summary:
      The "Recently viewed" card do not display trashed documents any more.
    • Tags:
    • Backlog priority:
      600
    • Sprint:
      nxGang Sprint 10.3.5
    • Story Points:
      2

      Description

      1. install Nuxeo with WebUI
      2. in Studio, configure Trash management according to NXP-25008.
      3. sync the project server-side
      4. create a workspace
      5. create a File document
      6. delete the File document
      7. click the Trash icon on the left panel
      8. click the full text field
      9. press the ENTER key
      10. observe the File document is present
      11. click it
      12. observe the You are viewing a trashed document. message
      13. click the Recently Viewed icon in the left panel
      14. click the delete File in the list (it should appear at the top)
      15. observe the 404 error in the right panel (see trashedDocument.png)
      16. observe the url is the one of the document before being trashed, for instance:
        http://localhost:8080/nuxeo/ui/#!/browse/default-domain/workspaces/testWorkspace23714/ioazuheroiuazyoeiur

        it differs from the trash document similar to:

        http://localhost:8080/nuxeo/ui/#!/browse/default-domain/workspaces/testWorkspace23714/ioazuheroiuazyoeiur._1534491514459_.trashed
        

      Expected behavior: there should be no 404 error.
      Suggestion 1: modify the recently viewed document reference to match the trashed one, so that we can consult the deleted document from the Recently Viewed panel. But the issue would appear anyway if we permanently delete the document.
      Suggestion 2: remove a deleted document from the Recently Viewed document list to avoid any further issue
      Note: either implementation should be acceptable, it is up to product/dev to decide which way to go.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d