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

Wiki link to wrong page in search result

Details

    Description

      1) Create a new Site called "MySite"
      2) Go to "Control Panel"->"Wiki" in "MySite"
      3) In the "Main" Wiki, add a new Page and insert "Main1" as the title and "Main1 Wiki Test" as the content
      4) Return to "Control Panel"->"Wiki" and add a new Wiki called "Main2"
      5) In the "Main2" Wiki, add a new Page and insert "Main2" as the title and "Main2 Wiki Test" as the content
      6) Create 3 Pages in "MySite" like "Search", "Main1" and "Main2"
      7) Add the "Search" Portlet in page "Search"
      8) Add the "Wiki Display" Portlet in both pages "Main1" and "Main2"
      9) In the "Wiki Display" Portlet in page "Main1" go to the configuration and select "Main" as the node and "Main1" as the page
      10) In the "Wiki Display" Portlet in page "Main2" go to the configuration and select "Main2" as the node and "Main2" as the page
      11) Go to the page "Search" and search for "Wiki Test" only in "This Site"
      12) Click in the "Main2" wiki result

      It will open the "Main1" page and the "Wiki Display" portlet will not show the Wiki content, because this "Wiki Display" instance isn't configured with the "Main2" node, just the "Main2" page has the "Wiki Display" instance that has the "Main2" node.

      Note: This is similar to LPS-41005 except that in this case we create a new Wiki Node and each page has an instance of "Wiki Display" with different Wiki Nodes, but the link still redirects to the first Page, wich does not contain the right instance of the "Wiki Display" portlet

      Attachments

        Issue Links

          Activity

            People

              haoliang.wu Haoliang Wu (Inactive)
              ricardo.funke Ricardo Funke (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 20 weeks, 4 days ago

                Packages

                  Version Package
                  7.0.0 M1