Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
-
Platform sprint 130, Platform sprint 131
Description
When a content editor adds a link on a text in RichText field using 'Other' type External Link like '/othernews', it is generated with mount path like '/fr/othernews' until 10.1.1.
However, since 10.2.0, the link is generated without mount path lik '/othernews' even in /fr mount is the current context mount.
How to reproduce the problem.
See how it works in 10.1.1
- Download myhippoproject-10.1.1.zip and extract it in a temporary folder.
- Build and run it.
- Visit http://localhost:8080/site/fr/news/ and click on the first news item.
- Below the animal image, you will see a link on a text. The link is generated as '/fr/othernews'.
- In CMS Editor, I put the link in CKEditor by clicking on the External link, selecting 'Other' type, and entering manually '/othernews'.
- BTW, I created /othernews sitemap item in fr site configuration by copying /news and removing child items.
See how it doesn't work in 10.2.
- Download myhippoproject-10.2.zip and extract it in a temporary folder.
- Build and run it.
- Visit http://localhost:8080/site/fr/news/ and click on the first news item.
- Below the animal image, you will see a link on a text. The link is generated as '/othernews', not '/fr/othernews'.
- In CMS Editor, in the same way I've done in 10.1.1 demo, I put the link in CKEditor by clicking on the External link, selecting 'Other' type, and entering manually '/othernews'.
- BTW, I created /othernews sitemap item in fr site configuration by copying /news and removing child items.
Attachments
Issue Links
- is a result of
-
HSTTWO-3538 CKEditor external links: render always 'as is' when 'Other' protocol is selected
- Closed