linked page contained in ParagraphComponent could not be loaded under SmartEdit

简介: linked page contained in ParagraphComponent could not be loaded under SmartEdit

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.

e151f7a1248f53d8f2bcb2d11c7a9240.png

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.

相关文章
|
8月前
node+express4+multiparty实现简单文件上传
node+express4+multiparty实现简单文件上传
38 0
|
9月前
Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option ...
Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option ...
95 0
|
11月前
|
JSON JavaScript 中间件
node+express使用multiparty实现文件上传
node+express使用multiparty实现文件上传
183 0
|
Web App开发 C++
linked page contained in ParagraphComponent could not be loaded under SmartEdit
linked page contained in ParagraphComponent could not be loaded under SmartEdit
92 0
linked page contained in ParagraphComponent could not be loaded under SmartEdit
|
Oracle 关系型数据库 Java
Configuring HugePages (Doc ID 1479908.1)
Configuring HugePages (Doc ID 1479908.1)
76 0
SAP Spartacus home page的三大section
SAP Spartacus home page的三大section
92 0
SAP Spartacus home page的三大section
SAP Spartacus org unit list当前行is-current的判定逻辑
SAP Spartacus org unit list当前行is-current的判定逻辑
110 0
SAP Spartacus org unit list当前行is-current的判定逻辑
|
机器人 SEO
SAP Spartacus Static Multi-Site Configuration
SAP Spartacus Static Multi-Site Configuration
78 0
SAP Spartacus Static Multi-Site Configuration
SAP Spartacus organization unit list的实现Component
SAP Spartacus organization unit list的实现Component
SAP Spartacus organization unit list的实现Component