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

Methods in GroupImpl that check staging settings return wrong result when staging is enabled or group is a layout scope

    Details

      Description

      Staging configuration is always stored in the type settings of the parent live group. That is the group associated to the site in live.
      But the methods isStaged(), isStagedPortlet(portletId) and isStagedRemotely() are reading the typeSettings from the current group instance. So if this methods are invoked for a group instance that represents staging or a layout scope the settings are not found. Those methods should make sure that they always check the type settings of the live parent.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 23 weeks, 3 days ago

                  Subcomponents