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

JournalFeed URL is not rewritten with the correct feedId during Staging to Live publication

    Details

      Description

      When you want to link to a JournalFeed, you can get its URL from its edit page.
      The link to a JournalFeed is: http://localhost:8080/web/mysite/mypage/-/journal/rss/226268/226312
      (with groupId=226268 and feedId=226312)

      The problem is that URL is not staging-friendly, if you create a webcontent and add a link to a JournalFeed in staging, when you publish that webcontent to live, in live it will point to the JournalFeed of Staging environment.

      Steps to reproduce

      1. Create a site and activate staging (local or remote)
      2. Add a page called "page1" with a asset publisher
      3. Create a JournalFeed pointing to "page1"
      4. Publish Page and JournalFeed to live
      5. Add a second page called "page2" with a web content display portlet
      6. Add a web content to the web content display portlet and add a link to the JournalFeed created in staging:
        http://localhost:8080/web/mysite-staging/mypage/-/journal/rss/<staging-groupId>/<staging-feedId>
      7. Publish "page2" to live
      8. Go to live and open "page2", check link

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 19 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP57
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.X
                  Master