escribe the bug
This issue is reported by customer.
When a Spartacus page link is contained in a ParagraphComponent, the link could NOT be loaded under SmartEdit succcessfully.
Tell us the version of Spartacus
Library version: 4.2
To Reproduce
Steps to reproduce the behavior:
1.Make some changes in backoffice. For me, I use a local Hybris server.
Maintain cms.components.allowUnsafeJavaScript=true in hybris\config\local.properties,then start server.
2.Search for Component with ID NoticeTextParagraph.
In its property field, maintain content as:
<div><a href="/Open-Catalogue/Office-Equipment%252C-Supplies-%2526-Accessories/Hand-Tools/Measuring-%2526-Layout-Tools/c/1358">Jerry Link</a></div>
Save the change, it will appear in the footer area under footer navigation area, as below:
3.log in SmartEdit, click homepage:
Error:
SmartEdit hangs there:
SmartEdit is having difficulty loading the page. The page is either not compatible with SmartEdit or connection to it has been lost. Wait for the page to load or disable editing by going to Preview mode.
However, if we directly click the same OOTB navigation link which is NOT within a paragraphComponent, the link could be opened in SmartEdit without errors:
Desktop (please complete the following information):
OS: Windows10
Browser:chrome
some initial comparison between two scenarios
I made some comparison between two scenarios: link contained in ParagraphComponent vs OOTB navigation link and observed two differences.