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

ACP imports are not validated, could contain errors.

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Duplicate
    • Affects Version/s: 3.3.4
    • Fix Version/s: 4.0
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      3.3 SP4
      OS: Solaris
      App Server: Tomcat
      Database: Oracle
    • Bug Priority:
      Category 2
    • ACT Numbers:

      26991

      Description

      After using some scripts to create an ACP file, the file was imported without error or warning into the repository. When trying to delete one of the files from the earlier ACP import the following error occurred:

      Unable to delete file due to system error:00190994 Found 1 integrity violations: Invalid property value: Node: Workspace://SpacesStore/dd........ type (http://www.alfresco.org/model/content/1.0) folder: (http://www.alfresco.ord/model/content/1.0) name: constraint: 00190993 value 'Kathy Nolman' is not valid as a file name. This property must be a valid filename

      The issue appears to be with a trailing space. From the ACT ticket:

      "when the source system value 'Kathy Nolman ', with a trailing space, was loaded into the "cm:Created By" tag. The import accepted the document and its metadata and no the error message was generated. However when we attempt to delete the file we get the error message shown above that refers to the file name.
      I suggest that the operational constraints should be applied to the import process if the constraint will be enforced during the deletion process
      We manually removed all trailing spaces from all cm: tags that we populate prior to import acp generation so this is no longer an issue for us. However this trailing spaces issue could potentially cause severe issues it the problem is not discovered until after a large migration took place. We cleaned out our data stores and restarted the migration."

      It is possible to create some validation of ACP import files to prevent future incidents like this?

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  stanley.arnold Stanley Arnold (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel