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

Avoid unnecessary calls to DB when p_p_id doesn't exist

    Details

      Description

      When injecting an invalid p_p_id there's no need to perform extra database calls to retrieve portlet preferences.

      Steps to Reproduce:

      1. In any page with p_p_id substitute the value for AAAA

       

      Expected Result:

      No extra call to check the portlet preferences of AAAA should be done.

       

      Actual Result:

      An extra call is performed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  28 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP79
                  7.0.10.11 DXP SP11
                  7.0.X
                  7.1.10 DXP FP10
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.1.X
                  Master