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

RM special containers can be deleted

    Details

    • Bug Priority:
      Category 1
    • Sprint:
      Flamebird 4 -Carnage
    • Story Points:
      2

      Description

      The fileplan node and the special containers (unfiled, holds, transfers) can be deleted using the core REST api or the java API.

      Steps to reproduce: using the core's nodes REST api make the following REST call :

       DELETE api/-default-/public/alfresco/versions/1/nodes/[special-container-id] 

      Expected behavior: An exception should be thrown when trying to delete the special container alone. The special containers should be deletable when the RM site is deleted.

      Actual behavior: The node is deleted

      The check should be added in the java service and an integration test added to make sure the special containers can't be deleted vi java API.
      Note: the fileplanComponents api has a check that should be removed once fixed properly (see RMSitesImpl:deleteNode).

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                abozianu Ana Bozianu [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 2 hours
                  3d 2h

                    Structure Helper Panel