Uploaded image for project: 'Records Management'
  1. Records Management
  2. RM-4808

Update Record Folder: Reopen a close folder via PUT request throw Permission denied exception

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Bug Priority:
      Category 1
    • Sprint:
      Flamebird 9 - The Leader
    • Story Points:
      2

      Description

      Steps to reproduce:
      1. Create a record folder:
      2. Update the record folder(close the folder) using a PUT request with the following requestBody:

      http://localhost:8080/alfresco/api/-default-/public/ig/versions/1/fileplan-components/<recordFolderId>
      {
         "properties":
        {
             "rma:isClosed": false
         }
       }
      

      3. Reopen the record folder using a PUT request with the following requestBody:

      http://localhost:8080/alfresco/api/-default-/public/ig/versions/1/fileplan-components/<recordFolderId>
      {
         "properties":
        {
             "rma:isClosed": true
         }
       }
      

      Actual result :
      The record folder cannot be reopen.
      Permission denied exception is thrown

      {
        "error": {
          "errorKey": "framework.exception.PermissionDenied",
          "statusCode": 403,
          "briefSummary": "02030035 Permission was denied",
          "stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions",
          "descriptionURL": "https://api-explorer.alfresco.com"
        }
      }
      

      Expected Result:
      The record folder is reopened

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rsutu Rodica Sutu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel