Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.3.X, Master
-
7.3.x
-
Committed
-
3
Description
Steps to reproduce:
- Go to Site Builder > Content and Data > Web Content
- Click on Structures tab
- Add a new Structure and add a Link to Page to it, then save
- Create a new Template for the structure and add the link to page markup, then save
- Create a new Web Content with the Structure that was created in step 3, and select the home page for the link to page field
- Publish the web content
- Create a new widget page and add a web content display to it
- Select the web content that was created in step 5
- Inspect the element
Expected result: link should be relative i.e. /home
Actual result: link is absolute
This is more visible when navigating to: 127.0.0.1:8080 and inspecting the link, since it will be shown as localhost:8080
Attachments
Issue Links
- causes
-
LPS-156682 Not Found when navigating to page via Link to URL
- Closed
- is caused by
-
LPS-131644 getFriendlyUrl() in webcontent gets page layout ID
- Closed