Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12483

Error message when moving a document to recycle bin

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.2-milestone-3
    • Fix Version/s: 7.2-rc-1
    • Component/s: Old Core
    • Labels:
      None
    • Development Priority:
      High
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce :

      1 . Login with a regular user
      2 . Create a document (it doesn't matter if it's WebHome or not)
      3 . Delete the document - you will be asked if you want to move the document to recycle bin or not
      4 . You will see an error saying :

      Error
      You are not allowed to view this document or perform this action.
      

      The document is successfully moved to recycle bin (you can see it listed it Main/AllDocs?view=deletedDocs livetable if you login with an admin user).

      The strange part is that there are times when there is no error message, but I couldn't figure out why there is this behavior. The logs don't show anything about these docs.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              ralucamorosan Raluca Stavro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 3 hours
                3h