-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.6.0-HF26, 5.8, 6.0, 7.2
-
Fix Version/s: 5.6.0-HF43, 5.8.0-HF32, 6.0-HF09, 7.3
-
Component/s: Content Views
-
Tags:
-
Impact type:Configuration Change
-
Upgrade notes:
-
Sprint:nxNag Sprint 7.2.2
When defining a default page size on a page provider, that is not part of the default hardcoded values (5L, 10L, 20L, 30L, 40L, 50L), this value is lost from the select options at first change.
This is because the original page size cannot be retrieved on the page provider instance anymore, so it is not added to computed values.
Steps to reproduce on the Admin > Users&Groups > Users content view:
1. override the page provider to set a default page size to "100":
<?xml version="1.0"?> <component name="org.nuxeo.ecm.platform.usermanager.pageproviders.override"> <require>org.nuxeo.ecm.platform.usermanager.pageproviders</require> <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService" point="providers"> <genericPageProvider name="users_listing" class="org.nuxeo.ecm.platform.usermanager.providers.UsersPageProvider"> <pageSize>100</pageSize> </genericPageProvider> </extension> </component>
2. On the content view, 100 is present at first. Select "50" instead => "100" is not present anymore.
- is required by
-
NXS-2516 Allow configuring page selection options on Content Views
- Open