Uploaded image for project: 'Content Importer'
  1. Content Importer
  2. MGNLCI-33

Align path translation with core

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      From Raphael on Slack:

      Hi there, with JCR export/import and the content importer module. The example I’m sharing here is in the user workspace, but it’s probably not workspace-related.It is about a user with a dot in its name, like name.surname. When you create such a user in JCR and export it using the JCR app, the file path ends up having an extra dot, turning into workspace.the.jcr.path.name..surname.yaml. If you delete the user in the UI and import the file from there, all is good, and the user is perfectly saved. Trying to replace the double dot with a single one also fails. It seems there shouldn’t be any dots in the user name part of the path for it to work. I changed the last part of the path from a dot to a dash, and it worked! 

      With additional feedback from Roman:

      Looks like the content importer has its own path translation which doesn’t cover this. There is a core method which should handle this gracefully.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              mmichel Maxime Michel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoR