Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-3914

Deletion of dynamic custom model succeeds, leaving orphan nodes

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      Version: Enterprise - v3.2.0 (304)
      Tomcat, using the Alfresco Linux installer
      Xubuntu 9.10
    • Bug Priority:
      Category 3
    • Testcase ID:
      Hide

      Rep-786

      Show
      Rep-786

      Description

      Observed Behavior:
      1. Create a dynamic custom model by uploading a customModel.xml to the space:
      Company Home > Data Dictionary > Models
      2. Check the "Model Active" box.
      3. Add content using types defined in the custom model.
      4. Delete the custom model definition from the Models space. I found identical results with two methods:

        • Deletion via the trash can icon on the space browser
        • Deletion via the actions list in the detail view
          5. The deletion succeeds without an error.
          6. I then had weird behavior when trying to view and manipulate the content which depends on the custom model.

      Note:
      If instead of deleting the custom model, I clear the "Model Active" box in the details view, I get the following message:
      "A system error happened during the operation: 01230008 Failed to validate model delete - found 4 nodes in store workspace . . ."

      Expected Behavior
      Deletion of the custom model should check that nodes are not dependent on the model, in the same way that marking the model inactive does.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                resplin Richard Esplin [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: