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

Widgets are not visualized properly if the language is prepended to the URL

    Details

      Description

      Steps to reproduce it:

      1. Set locale.prepend.friendly.url.style to 1 in portal-ext.properties
      2. Startup the portal
      3. Create a page called "prepend" and add a web content display there
      4. In other page, edit the page in javascript section (see edit_page_javascript.png) adding:
            </script>
            <script src="http://localhost:8080/o/frontend-js-web/html/js/liferay/widget.js" type="text/javascript"></script>
            <script type="text/javascript">
            Liferay.Widget({ url: "http://localhost:8080/widget/web/guest/prepend/-/com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_d9jneYLf9QE3"});
        

        (modify the URL with the proper Id por the portlet instance)

      5. Come back to that page (the widget shows the web content previously created) and add the language portlet
      6. Choose another language (different than the default).

      Results: the widget (iframe) visualizes the whole page instead of the web content.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 19 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M6