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

Improve the display page framework to support previous friendly URLs for blog entries

Details

    Description

      Currently, for content types that support display pages, the content can be displayed with its associated display page template by using its friendly URL. However when the friendly URL changes the old URL does no longer work (even if the FriendlyURL service is keeping a history of them).

      The goal of this story is to make old friendly URLs work. In particular when an old friendly URL is used a permanent redirect to the new friendly URL should be issued to the browser.

       

      Acceptance criteria

      Given a display page URL for a blog entry with friendlyURL. "blog1"

      And changed to "newBlog1"

      When users access displayPageURL/blog1

      Then users will be redirected to displayPageURL/newBlog1

      Test Scenarios

      Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
      4 User is redirected to the new friendly URL when he accesses a blog display page URL with an old friendly URL YES  NA
      4 User is redirected to the restored friendly URL when he accesses a blog display page URL with an old friendly URL after he restored a friendly URL  NO BlogsFriendlyURL#CanAcessDisplayPageWithOldFriendlyURLAfterRestoring 

      Attachments

        Issue Links

          Activity

            People

              austin.chiang Austin Chiang
              pablo.agulla Pablo Agulla
              Pablo Agulla Pablo Agulla
              Kiyoshi Lee Kiyoshi Lee
              Adolfo Pérez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master