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

<lfr-widget-nested-portlets> doesn't work as a supported fragment widget because it requires dragging and dropping standalone Widgets which arent available in Content Pages

    Details

      Description

      Description
      The Nested Widget Portlet embedded as a fragment <lfr-widget-nested-portlets> usually allows "Widgets" to be dragged into it to nest them. However, because content is not draggable, in view or edit mode, we can never nest any portlets inside of it. Also, when configuring its layout template, changing its layout causes an unknown error to occur (see video). For this reason, I personally think we should not support it in 7.1 as fixing the drag/drop issue would be a "bug story". Also dragging/dropping portlets from fragments does not make sense as it would break fragments. Perhaps a future alternative would be to allow the configure option to add portlets themselves?

      Steps to Reproduce

      1. Create a fragment with following HTML
        <lfr-widget-nested-portlets> </lfr-widget-nested-portlets>
        
      2. Create a Content Page
      3. Add fragment to Content Page
      4. Try to configure widget
      5. Try to find a way to nest portlets inside the widget

      Expected Result
      Not included in portal

      Actual Result
      Can't nest portlets or configure widget

      Reproduced on: Tomcat 9.0.6 + MySQL 5.7
      Portal master GIT ID: 045bd6441c1d746cf6c2aa69e36cf7fbdbf4fa24

        Attachments

          Activity

            People

            Assignee:
            kyle.miho Kyle Miho
            Reporter:
            kyle.miho Kyle Miho
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.1.X
                Master