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

Link to documents in Wiki (MediaWiki type) are not correctly updated after > Liferay Wiki import page

    Details

      Description

      Steps to reproduce:

      1) Start he server, login as an Admin
      2) On a convenient place on your disk, unzip the attached liferay_wiki.zip
      2) Go to left side Product Navigation > Liferay DXP > Content > Wiki
      3) On the Menu for Wiki - Main page, click on Import Pages
      4) Select the Liferay_wiki.xml (obtained in step 2) in the Pages File field
      5) Select the Liferay_wiki.zip (obtained in step 2) in the Images File field
      6) Import
      7) Now open the page, "Media wiki migration test", you will see there is a file linked
      8) Check its URL or try to click on it:

      Expected: The URL to be valid (http://localhost:8080/documents/portlet_file_entry/20142/equalpay_zusatzvereinbarung_%2821.12.2018%29.docx/91850e8a-230d-df04-46cd-c6d63026737b?status=0&download=true)

      Actual behavior: The URL on the document will be something like:
      {noformat}
      http://localhost:8080/group/guest/~/control_panel/manage?p_p_id=com_liferay_wiki_web_portlet_WikiAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_wiki_web_portlet_WikiAdminPortlet_mvcRenderCommandName=%2Fwiki%2Fedit_page&_com_liferay_wiki_web_portlet_WikiAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F%7E%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_wiki_web_portlet_WikiAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_wiki_web_portlet_WikiAdminPortlet_redirect%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fgroup%252Fguest%252F%257E%252Fcontrol_panel%252Fmanage%253Fp_p_id%253Dcom_liferay_wiki_web_portlet_WikiAdminPortlet%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview%2526_com_liferay_wiki_web_portlet_WikiAdminPortlet_redirect%253Dhttp%25253A%25252F%25252Flocalhost%25253A8080%25252Fgroup%25252Fguest%25252F%25257E%25252Fcontrol_panel%25252Fmanage%25253Fp_p_id%25253Dcom_liferay_wiki_web_portlet_WikiAdminPortlet%252526p_p_lifecycle%25253D0%252526p_p_state%25253Dmaximized%252526p_p_mode%25253Dview%252526_com_liferay_wiki_web_portlet_WikiAdminPortlet_nodeName%25253Dnew%2526_com_liferay_wiki_web_portlet_WikiAdminPortlet_mvcRenderCommandName%253D%25252Fwiki%25252Fview_pages%2526_com_liferay_wiki_web_portlet_WikiAdminPortlet_navigation%253Dall-pages%2526_com_liferay_wiki_web_portlet_WikiAdminPortlet_nodeId%253D32962%26_com_liferay_wiki_web_portlet_WikiAdminPortlet_nodeName%3Dnew%26_com_liferay_wiki_web_portlet_WikiAdminPortlet_mvcRenderCommandName%3D%252Fwiki%252Fview%26_com_liferay_wiki_web_portlet_WikiAdminPortlet_title%3DMedia%2Bwiki%2Bmigration%2Btest&_com_liferay_wiki_web_portlet_WikiAdminPortlet_nodeId=32962&_com_liferay_wiki_web_portlet_WikiAdminPortlet_title=Media%3AEqualPay+Zusatzvereinbarung+%2821.12.2018%29.docx
      {noformat}
      Clicking on it will lead to a blank page and the message: This page does not exist yet and the title is not valid.

        Attachments

          Activity

            People

            • Assignee:
              beck.liu Beck Liu
              Reporter:
              istvan.dezsi Istvan Dezsi
              Participants of an Issue:
              Recent user:
              Rubén Heras
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 3 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP68
                7.0.X
                7.1.10 DXP FP4
                7.1.10.1 SP1
                7.1.2 CE GA3
                7.1.X
                Master