Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86233 Publishing generates portletPreferences with ownerId = 0, ownerType = 3, plid = 0
  3. LPS-83456

PortletPreferencesFactoryImpl.getPortletSetup(long, long, long, long, String, String, boolean) defaulting strategy hides wrong input

    Details

    • Type: Technical Task
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      From LPS-83223, we have seen in some cases, after this method's logic, we have a preferences with OwnerId = 0, OwnerType = 3, plid = 0, resulting in portlets from different sites or companies sharing the same preferences.
      We have found root causes for LPS-83223, but improving this method so it's able to NOT hide the issue when it happens again.
      Because it's also defaulting to a certain value which is very hard to find root cause for other bugs relating to preferences, thus I believe it's better to rewrite it and expose the issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arthur.chen Arthur Chen
                Reporter:
                arthur.chen Arthur Chen
                Recent user:
                Arthur Chen
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  1 year, 2 weeks, 6 days ago

                  Packages

                  Version Package