Uploaded image for project: 'Live Copy'
  1. Live Copy
  2. LIVECOPY-296

Relink doesn't work for links outside of website workspace

    XMLWordPrintable

Details

    Description

      Timebox 1SP: Verify if fixed in 3.2.7.

      Environment
      Magnolia: 6.2.12
      Livecopy: 3.2.6

      Steps to reproduce

      • Create a component with an attribute linkfield to another workspace in the dialog
        • Examples:
        • form:
            properties:
              - name: downloadCategory
                required: true
                $type: linkField
                datasource:
                  $type: jcrDatasource
                  workspace: constants
          
        • name: imageLink
          $type: damLinkField
          i18n: true
          showOptions: true
          preview: true
          
      • Create a page add this component with a valid link
      • Create a live copy for this page
      • Click 'Relink all pages to live copy pages'

      Expected Result
      Links outside of website workspace shouldn't change when relinking the page.

      Actual Result
      Relinking fails.
      stacktrace1.txt
      stacktrace2.txt

      Probably the problem is that the function LiveCopyUtils#getNodeByIdentifier searches only in the workspace website.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              thuy.to Thuy To
              Kuhschubser Claudius Witte
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.5d
                    0.5d

                    Jenkins

                      No builds found.