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

Back url after search in webcontent (full_content) doesn't redirect back to search

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.2.10 EE GA1
    • Fix Version/s: None
    • Component/s: Search Infrastructure
    • Labels:

      Description

      Tested with Fixpack 8.

      The redirect parameter in assetpublisher/full_content.jsp is empty after a search; because of this, the back button redirects to the default page and not back to the search page.

      Steps to reproduce:

      • Add search portlet and assetpublisher to a page
      • Add a new webcontent in assetpublisher called "test"
      • Search for "test" in search portlet
      • In the results, click on the webcontent-article "test"
      • Full content of webcontent is shown in asset publisher
      • Back URL redirects to "http://localhost:8080/user/test/home?p_p_id=101&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_101_struts_action=%2Fasset_publisher%2Fview" instead of
        "http://localhost:8080/user/test/home?p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=4&_3_struts_action=%2Fsearch%2Fsearch&_3_redirect=%2Fuser%2Ftest%2Fhome&_3_keywords=test&_3_groupId=0"

      The url of the webcontent looks like this:
      "http://localhost:8080/user/test/home?p_p_id=101&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_101_struts_action=%2Fasset_publisher%2Fview_content&_101_returnToFullPageURL=%2Fuser%2Ftest%2Fhome&_101_assetEntryId=10554&_101_type=content&_101_urlTitle=test&redirect=http%3A%2F%2Flocalhost%3A8080%2Fuser%2Ftest%2Fhome%3Fp_p_id%3D3%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_3_groupId%3D0%26_3_keywords%3Dtest%26_3_struts_action%3D%252Fsearch%252Fsearch%26_3_redirect%3D%252Fuser%252Ftest%252Fhome&inheritRedirect=true"

      Please note the parameter "redirect=http...". Changing this parameter manually to _101_redirect fixes the issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zsolt.szabo Zsolt Szabo (Inactive)
              Reporter:
              crabel Christoph Rabel
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 47 weeks, 4 days ago

                  Packages

                  Version Package