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

Breadcrumb breaks when viewing Blogs Entries without query strings

    Details

      Description

      When viewing a Blogs post from a URL without a query string, the "< Blogs" breadcrumb redirector, which normally returns a user to the main section of the blogs app, instead refreshes the page.

      Steps to Reproduce:
      1. Create a page with a Blogs Portlet
      2. Add a blog entry
      3. Navigate to the entry
      4. Delete the query string from the URL of your current page, and refresh
          --URL should now be something like
          http://localhost:8080/web/guest/TestPage/-/blogs/TestPost
          instead of
          http://localhost:8080/web/guest/TestPage/-/blogs/TestPost?_com_liferay_blogs_web_portlet_BlogsPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fweb%2Fguest%2Flanding-test%3Fp_p_id%3Dcom_lif...

      5. Click the Back button inside the Blogs Portlet [< Blogs]

      Expected Result:

      User navigates back to the main section of the blogs portlet, and is able to see the summaries of other blog posts.

      Actual Result:

      User remains on current window, and must navigate to a different page to return to the main section of the blog portlet.

       

      Reproduced on:

      Tomcat 8.0.32 + MySQL 5.7.17. Portal master GIT ID: 2c0fc5642e4693e38375b46fa6d0a3962a515654.

       

        Attachments

          Activity

            People

            • Assignee:
              brian.chen Brian Chen (Inactive)
              Reporter:
              brian.chen Brian Chen (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 14 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP22
                7.0.0 DXP SP4
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master