Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3938

When copying a page to other channel, the Destination URL dropdown shows only the root

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.2.1
    • Component/s: None
    • Similar issues:

      Description

      The copy page functionality has a Destination dropdown, called Target URL in Hippo 10, that should be filled with the site map items from the target channel workspace, but it only shows the root URL.

      The REST call behind the UI goes to /newpagemodel with a mountId parameter. If that
      mountId is not there, which happens when just opening the channel, the site map items are found.

      This is a result of HSTTWO-3528 in which code was added to filter out site map items of 'inherited' site map items. However, the inherited flag is determined by matching the canonical path against a given prefix, which is the current editing preview configuration path call in MountResource#getNewPageModelRepresentation

      Thus, when having a mountId parameter, the target mount sitemap items are flagged 'inherited' and will not show in the dropdown.

      I've attached a local set up 11.2 project with the NL '/content' site map item moved to the workspace. When copying '/events2' from EN workspace to NL channel, '/content' should show in the dropdown.

        Attachments

        1. HST_3938-1.png
          HST_3938-1.png
          53 kB
        2. HST_3938-2.png
          HST_3938-2.png
          56 kB
        3. myhippoproject11.2.0.zip
          515 kB

          Issue Links

            Activity

              People

              • Assignee:
                clientserviceteam Client Service Team
                Reporter:
                jhoffman Jeroen Hoffman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: