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

Trashed folder allows document creation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF24, 11.1, 2021.0
    • Component/s: Core, Web UI
    • Release Notes Summary:
      Document creation is forbidden in a trashed folder.
    • Backlog priority:
      400
    • Team:
      GANG
    • Sprint:
      nxGang Sprint 11.1.27, nxGang Sprint 11.1.28, nxGang Sprint 11.1.29
    • Story Points:
      5

      Description

      Reproductible on nightly.nuxeo.com.

      1. create a folder
      2. create a note inside it
      3. trash the folder
      4. go to the trash
      5. navigate to the trashed folder
      6. observe the button (plus sign) is available for creating documents (see possiblecreation.png)
      7. create a note
      8. observe the note is neither visible in the trashed folder or the untrashed workspace parent
      9. now untrash the folder
      10. observe the created note is now visible

      This is an inconsistent behavior. The document creation button should not be available when browsing trashed documents to avoid such issues. Maybe this should be dealt à the core level to prevent any document creation when the parent document has the ecm:isTrashed flag set.

      I let the platform decide on what is best.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              7 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 - 1 day, 4 hours, 10 minutes
                1d 4h 10m