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

Absolute URL used in Web Content Links points to staging site instead of live site

    Details

      Description

      Issue: Liferay is utilizing absolute URLs in the browse server feature of the CKEditor rather than absolute URLs. This is due to fix that was implemented in LPS-37250. This fix utilizes absolute URLs instead of relative ones in resolving an issue where relative URLs have the locale included in it.

      The issue with this is that the absolute URLs now have to be modified for clients who utilize remote staging. This is because the absolute URLs will continue to point to the environment from which the content was published.

      Steps to Reproduce

      1. Install liferay-fix-pack-user-interface-2-6130 (This step is only for 6.1 GA3. In Branch/Trunk start at step 2)
      2. add a page "test"
      3. On the front page "welcome", place a Web Content Display Portlet
      4. Create an article and select the hyperlink button in the CKEditor
      5. Select Browse Server
      6. In this location select page and then "liferay" -> "test"
      Result: An absolute URL is generated

      Tested in 6.1.X and Trunk
      Reproduced in 6.1.X and Trunk

      Trunk ab5be1d115b20339115e6480f558bbf42d81cdbb
      Branch 956af9c3296ed2da2b201dc363baebddade98325

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              andrew.betts Andrew Betts
              Participants of an Issue:
              Recent user:
              Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 40 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.1 CE GA2
                  6.2.X EE