ezplatform-user icon indicating copy to clipboard operation
ezplatform-user copied to clipboard

EZP-30731: Pagination limits are not recognized except for user_settings_limit

Open adamwojs opened this issue 5 years ago • 1 comments

Question Answer
Tickets EZP-30731
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

In eZ Platform v2.5.2 is not possible to configure pagination for the elements defined in https://github.com/ezsystems/ezplatform-admin-ui/blob/master/src/bundle/DependencyInjection/Configuration/Parser/Pagination.php#L40-L62: the pagination node definition has been overwritten by https://github.com/ezsystems/ezplatform-user/blob/master/src/bundle/DependencyInjection/Configuration/Parser/Pagination.php#L36-L42

Checklist:

  • [ ] Implement tests
  • [x] Coding standards ($ composer fix-cs)

adamwojs avatar Jul 08 '19 10:07 adamwojs

Unfortunately, we need a different solution for 1.0 branch. Method getChildNodeDefinitions is available only in Symfony >= 4.1 Ref. https://github.com/symfony/symfony/commit/15e05e1e178926b11fa2b45f0e19741f024b0f9f Thanks for catching that @micszo.

adamwojs avatar Jul 09 '19 07:07 adamwojs

Closing as obsolete.

adamwojs avatar Aug 27 '23 13:08 adamwojs