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

Incorrect URL generated to open up document library selector in DDL

    Details

      Description

      Steps to Reproduce:

      1. Start portal on your local machine (localhost:8080)
      2. Navigate to portal at your network IP address (172.16.XX.XXX:8080)
      3. Go to Dynamic Data Lists
      4. Add list with default "To Do" definition
      5. Add new list record
      6. Click "Select" on the Attachment field

      Expected Result:
      Document selector iframe loads.

      Actual Result:
      Document selector iframe does not load. URL request using "localhost:8080"

      Load denied by X-Frame-Options: http://localhost:8080/group/guest/~/control_panel/manage?p_p_lifecycle=0&p_p_state=pop_up&p_p_mode=view&p_p_auth=WMrimqwy&p_p_id=com_liferay_item_selector_web_portlet_ItemSelectorPortlet&_com_liferay_item_selector_web_portlet_ItemSelectorPortlet_criteria=com.liferay.item.selector.criteria.file.criterion.FileItemSelectorCriterion&_com_liferay_item_selector_web_portlet_ItemSelectorPortlet_itemSelectedEventName=_com_liferay_dynamic_data_lists_web_portlet_DDLPortlet_selectDocumentLibrary&_com_liferay_item_selector_web_portlet_ItemSelectorPortlet_0_json=%7B%22desiredItemSelectorReturnTypes%22%3A%22com.liferay.item.selector.criteria.FileEntryItemSelectorReturnType%2Ccom.liferay.item.selector.criteria.FileEntryItemSelectorReturnType%22%7D&_com_liferay_item_selector_web_portlet_ItemSelectorPortlet_1_json=%7B%22desiredItemSelectorReturnTypes%22%3A%22com.liferay.item.selector.criteria.FileEntryItemSelectorReturnType%2Ccom.liferay.item.selector.criteria.FileEntryItemSelectorReturnType%22%7D&_com_liferay_item_selector_web_portlet_ItemSelectorPortlet_2_json=%7B%22desiredItemSelectorReturnTypes%22%3A%22com.liferay.item.selector.criteria.FileEntryItemSelectorReturnType%2Ccom.liferay.item.selector.criteria.FileEntryItemSelectorReturnType%22%2C%22URL%22%3A%22http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_lifecycle%3D1%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26p_auth%3DegbJhUtu%26p_p_id%3Dcom_liferay_document_library_web_portlet_DLPortlet%26_com_liferay_document_library_web_portlet_DLPortlet_cmd%3Dadd_temp%26_com_liferay_document_library_web_portlet_DLPortlet_javax.portlet.action%3D%252Fdocument_library%252Fupload_file_entry%22%7D does not permit cross-origin framing.
      

      This issue does not occur when accessing the portal at localhost:8080 or accessing a portal virtual instance.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7.17. Portal master GIT ID: ec460ad1a36021bfd7ef62d49306dbf0ceca9bab.
      Tomcat 8.0.32 + MySQL 5.7.17. Portal ee-7.0.x GIT ID: bd680dbff91c73b7ed3e474c4804278f0d2d3e8f.

      Not Reproducible on:
      Tomcat 8.0.32 + MySQL 5.7.17. DXP + FP11.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master