Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3938

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 4.1.2
    • 4.2.1
    • None

    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
          53 kB
          Jeroen Hoffman
        2. HST_3938-2.png
          56 kB
          Jeroen Hoffman

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: