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

ACP Import fails on peer associations to files with long filenames

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Duplicate
    • Affects Version/s: 3.4.6, 3.4.9
    • Fix Version/s: 3.4.10
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      Customer: Oracle, Tomcat, Linux
      Reproduced on: Linux, Tomcat, MySQL
    • Bug Priority:
      Category 2
    • ACT Numbers:

      46858

      Description

      Description

      If you have to files where file one has a peer association to the file two and file two has special character inside the filename you can export them but the import afterwards fails

      Error message in the log file:

      10:58:24,123 DEBUG [importer.view.ViewParser] Failed to import package at line 105; column 159 due to error:
      org.alfresco.service.cmr.view.ImporterException: Cannot find node referenced by path cm:x0033/cm:kv_x0020_224_x0020_start_x0020_mit_x0020_richtiger_x0020_kv_bw_x0020_x0028_1_11_x0029_x0020_lowres.pdf

      Steps to reproduce

      1. Put the customizations attached into extension / messages directory
      2. Start Alfresco
      3. Login to Alfresco Explorer
      4. Create a space
      5. Add content "kv 224 start mit richtiger kv_bw (1_11) lowres.pdf" file as type "Druckstück-Original"
      6. Add content "Druckstueck.pdf" file as type "Druckstück". On the page "Modify content Properties" create an association to file added in step 5 in the field "Druckstück-Original:" by click on "Select..." then "Search", choosing the document from the list and click on "OK" (see screenshot)
      7. Export the space including children and space
      8. Import the exported file somewhere

      Expected Behaviour

      Export and Import should work and the files should afterwards be available in Alfresco

      Observed Behaviour

      The file you tried to import in step 8 is uploaded into Alfresco but it gets not extracted. So you see the acp file but neither the space nor the content inside the space

      Environment – Reproduction

      Happens on vanilla instance with basic customizations

      Analysis to date

      This does not happen if removing the "(" and ")" from name of file two
      Customer reports that it also happens with comma in the filename (this one I did not reproduce)
      Logfile, customizations and example files will be attached

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  lulrich Levin Ulrich
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel