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

View and preview links for web content articles link to "group/${site}/wc/" instead of "web/${site}/-/"

    Details

      Description

      Reproduced on:
      Tomcat 9.0.10 + MySQL 5.7. Portal master GIT ID: 6078ef910f410f601a1079dcbe65016232fe2f43.

      This affects view/preview links in Web Content administration and in asset publisher.

      Steps to reproduce:

      1. Add a display page template and map it to basic web content
      2. Add a basic web content article and select the display page template created in the previous step
      3. Publish the web content article
      4. Click on the web content article's ellipsis kebab > View Content

      Expected result:
      The user is taken to the web content, viewed through its friendly URL, which is this (for a web content article named "Test Title"):

      http://localhost:8080/web/guest/-/test-title

      Actual result:
      User is taken to the wrong link. There is a "group/guest/wc/" where it ought to be "web/guest/-/". The wrong link looks like:

      http://localhost:8080/group/guest/wc/test-web-content-title

        Attachments

        1. 2019-04-03_11-47-12.gif
          2019-04-03_11-47-12.gif
          540 kB
        2. link wrong.PNG
          link wrong.PNG
          233 kB
        3. LPS-93320 Fixed.gif
          LPS-93320 Fixed.gif
          917 kB

          Issue Links

            Activity

              People

              • Assignee:
                brian.chiu Brian Chiu (Inactive)
                Reporter:
                brian.chiu Brian Chiu (Inactive)
                Participants of an Issue:
                Recent user:
                Kristoffer Onias
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  31 weeks, 4 days ago

                  Packages

                  Version Package
                  Master