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

LayoutLocalServiceImpl.getLayouts ignores pagination parameters

    Details

      Description

      Steps to Reproduce:

      1. Create in a site 5 public layouts.
      2. Call to the following Groovy script:
        import com.liferay.portal.kernel.service.LayoutLocalServiceUtil;
        
        out.println("Size: " + LayoutLocalServiceUtil.getLayouts(<GROUP>, false, 0L, false, 0, 1));
        

      Expected Results:

      The size should be 1 since the service is called using pagination.

       

      Actual Results:

      All layouts are returned.

        Attachments

          Activity

            People

            • Assignee:
              lu.liu Lu Liu
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                30 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP80
                7.0.10.11 DXP SP11
                7.0.X