Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-76497

layouts tree Relative Path link is incorrect

    Details

      Description

      Description of Issue:
      When linking some basic web content from one page to another Public page within a site (using the Link icon in the Alloy Editor), the path generated is incorrect.

      To Reproduce the Issue:
      1) Created a test site called LAWRENCE-26 TEST SITE with a "Home" page and a "Test" page
      2) Within the Test page, added Basic Web Content with the words, "Link 3"
      3) Highlighted the text and link to the public Home page (within this test site)
      4) Viewed the code which read, <p><a href="/home" target=" ">Link 3</a></p>
      5) Published the Test page
      6) Clicked on the link "Link 3" on the Test page and it took me to a different Home page outside of my LAWRENCE-26 TEST SITE

      Results of Testing:
      Expected Result: Link pointing to Home page within test site (<p><a href="..LAWRENCE-26-TEST-SITE/home" target=" ">Link 3</a></p>)
      Actual Result: Link pointing to Home page in root site (<p><a href="/home" target=" ">Link 3</a></p>)

      Additionally, viewing the data-url attribute of the Home page in step 3 shows only the "/home" link.

      This is not reproducible in Master because the UI seems to have changed the functionality. I believe this happened in Technical Task LPS-71281 - in particular its changes to layouts.jsp 

        Attachments

          Activity

            People

            Assignee:
            sylvia.luan Sylvia Luan
            Reporter:
            joshua.cords Joshua Cords
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 46 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP36
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X