Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
None
-
None
-
Quasar
-
Team Quasar 286 Sprint, Quasar Sprint 300
Description
Steps to reproduce:
- Go to Hippo Acceptance Project channel
- Select a component
- Select a menu item (e.g. Articles)
- 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