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

After upgrading from 6.1 or 6.2 to DXP 7.0, Wiki pages have the wrong portlet ID in URLs that are embedded in the content

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.0.10.15 DXP SP15
    • Fix Version/s: None
    • Component/s: Wiki
    • Labels:

      Description

      Issue description:
      Customer upgraded their Liferay instance from 6.1.10 EE to 7.0 DXP, going through 6.2 EE.

      After the upgrade the URLs within Wiki pages that point to other Wiki pages in different Wiki nodes are still using the ID 54 for Wiki Display portlet instead of the new one - com_liferay_wiki_web_portlet_WikiDisplayPortlet.

      When the user clicks on such a link she is redirected to the page with the Wiki display portlet, but the portlet itself shows the front page instead of the one from the URL.

      The URL looks something like this:
      https://myserver.com/group/mywiki/albanian?
      p_p_id=54_INSTANCE_xVkm&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&
      _54_INSTANCE_xVkm_struts_action=%2Fwiki_display%2Fview&
      _54_INSTANCE_xVkm_nodeName=English&
      _54_INSTANCE_xVkm_title=Drop-in

      And according to customer should look something like this:

      https://myserver.com/group/mywiki/albanian?
      p_p_id=com_liferay_wiki_web_portlet_WikiDisplayPortlet_INSTANCE_xVkm&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&
      com_liferay_wiki_web_portlet_WikiDisplayPortlet_INSTANCE_xVkm_struts_action=%2Fwiki_display%2Fview&
      com_liferay_wiki_web_portlet_WikiDisplayPortlet_INSTANCE_xVkm_nodeName=English&
      com_liferay_wiki_web_portlet_WikiDisplayPortlet_INSTANCE_xVkm_title=Drop-in

      Steps to reproduce:
      (in order to keep things as simple, I started the upgrade from 6.2, where the ID of the prtlet is still 54. The problem is where we upgrade from 6.2 to 7.0)

      0. Vanilla 6.2 SP20
      1. Create a site called mywiki and 2 private pages - Albanian, English
      2. Create 2 new wikis (2 nodes, so to say) - Albanian and English - with a main/front page each
      3. On the Albanian and English pages put the Wiki Display portlet
      4. Configure the Wiki Display portlet instances to show their Wiki nodes - on Albanian page the Albanian node and on the English page the English node (and the main/front page of the nodes)
      5. Add a page called Drop-in in the English and the Albanian node with some dummy text.
      6. go to the English page where the English Wiki node is displayed and open the Wiki page for Drop-in. Copy the URL from the browser's address bar.
      7. go to the Albanian page where the Albanian Wiki node is displayed; open the Wiki page for Drop-in. Edit it and add a link with the URL you copeid to the clipboard. Publish.
      Checkpoint - the URL uses portlet ID 54, and when you click on it, you are taken to the English page, and the Drop-in wiki page is displayed in the portlet.
      8. Upgrade to 7.0 (I used an SP15 bundle)
      9. Log in to the newly upgraded instance of the portal and visit the mywiki site. Go to the Albanian page and to the Drop-in wiki page in the portlet. Click on the link to the link that points to the English Drop-in.
      RESULT: the link takes the user to the English page, but it displays the node's front page in the portlet.
      EXPECTATION: the link takes the user to the English page and shows the Drop-in Wiki page. (like in 6.2, from where we started off)

      Customer mentioned that they would like a solution that would not involve having to do the upgrade again. ("What would be the best way to resolve this issue? Note that we cannot run migration again.")

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            marcell.gyopos Marcell Gyöpös (Inactive)
            Participants of an Issue:
            Recent user:
            Kevin Valencia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 year, 1 week, 2 days ago

                Packages

                Version Package