Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-542

MoveContentToDamMigrationTask.copyToDam() produces "...//.." in path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 2.0.6
    • DAM App
    • None

    Description

      On line 249 the target path is created where the resource should me copied to in the dam workspace:

      String targetPath = this.damUploadedRootNode.getPath() + "/" + parentPath;

      However "parentPath" starts with a "/". This will therefore lead to a path with "//" in it. IMO it should be:

      String targetPath = this.damUploadedRootNode.getPath() + parentPath;

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              will Will Scheidegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD