Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14582

[Backport] "Navigate to the page it's on" functionality is not working for SPA channels

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • 15.2.0
    • None
    • Quasar
    • Team Quasar 286 Sprint, Quasar Sprint 300

    Description

      Steps to reproduce:

      1. Go to Hippo Acceptance Project channel
      2. Select a component
      3. Select a menu item (e.g. Articles)
      4. Click on the  navigate to the page it's on button

      Expected result:

      It takes you to the page the component was on (Home page)

      Actual result:

      Navigation leads to a wrong location (for example HAP instead of original channel). This is working for non-SPA channel

      Small research

      The FE invokes

      <a href="" ng-click="$ctrl.ComponentEditor.openComponentPage()">
            navigate to the page it's on
      </a>
      

      which triggers the iframe to load eg

      http://localhost:8080/delivery/_cmsinternal/about'
      

      which is CORRECT for FTL driven websites but NOT for SPAs. For an SPA, the URL should be something like

      http://localhost:8080/delivery/_cmsinternal/site/v1/channels/brxsaas/about
      

      Note it is important of course that BOTH the FTL as well as the SPA driven sites work

      Follow up steps

      A FE developer should investigate how to correct the invoked iframe location

      Attachments

        Activity

          People

            jdegooijer Joeri de Gooijer
            ntrajkovski Nikola Trajkovski
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: