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

Nested Portlets portlet's inner portlet's Look and Feel are overridden by the overarching outer portlet's Look and Feel

    Details

      Description

      Summary
      Nested Portlets portlet's inner portlet's Look and Feel are overridden by the outer portlet's Look and Feel. It makes logical sense to me that configuring the overarching Nested Portlets portlet should trickle down to whatever portlets that it's nesting. However, considering that Liferay permits the nested/inner portlets to be able to configure their Look and Feel without restriction/disabling it, inner portlets Look and Feel should be able to override the outer Nested Portlets portlet's Look and Feel.

      Steps to reproduce

      1. Start DXP SP1 + DE10
      2. Place Nested Portlets portlet on homepage (i.e. outer portlet)
      3. Place 2 Web Content Display portlets (i.e. inner portlet) within the Nested Portlets portlet
      4. Click on the first inner Web Content Display portlet's Look and Feel Configuration
      5. Modify the Border Color to Green, and save it
      6. Click on the second inner Web Content Display portlet's Look and Feel Configuration
      7. Modify the Border Color to White, and the pixels to 0 (should force no border) and save it
      8. Click on the outer Nested Portlets portlet's Look and Feel Configuration
      9. Modify the Border Color to Red
      10. Save
      11. Reload your browser

      Actual Results
      Inner and outer portlets are displaying with a Red border, even though one inner nested portlet was configured to override and display a Green border and the other to no border

      Expected Results
      Outer portlet's red border should only display on itself and non-configured portlets within (if any). Or there should be a configuration enabling or disabling propagation. One Web Content Display portlet should have a green border, and the other none.

      Reproduced in
      DXP SP1 + DE10
      ee-7.0.x (6520194c98cc4b2e93e523575405a39f3d79bef2)
      master (c2f916c4af85983695b022dee1ac65d6cf79a290)

        Attachments

        1. LPS-70802-ee70x.png
          LPS-70802-ee70x.png
          119 kB
        2. LPS-70802-Master.png
          LPS-70802-Master.png
          124 kB
        3. master.png
          master.png
          35 kB
        4. nested-portlet-child-background-change.mp4
          868 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 23 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP SP2
                7.0.0 DXP FP13
                7.0.0 DXP SP3
                7.0.3 CE GA4
                7.1.X
                Master