Details
-
Bug
-
Resolution: Fixed
-
High
-
2.3.2, 2.4.0
-
None
Description
Preconditions:
eZ Platform/ should have more than 50 sub-items.
Steps:
1. Configure in ezplatform-admin-ui/src/bundle/Resources/config/universal_discovery_widget.yml starting_location_id: 2
2. Log in to the application and go to Content/Content structure
3. Click Browse on left side bar
4. Scroll down in first column to see Load more button and click it
Actual result:
Load more button is disabled. Console shows:
Uncaught TypeError: Cannot read property 'id' of null at Object.values.find.t (be705b5_UniversalDiscovery.module_4.js:1) at Array.find (<anonymous>) at c.onLoadMore (be705b5_UniversalDiscovery.module_4.js:1) at l.onLoadMore (be705b5_UniversalDiscovery.module_4.js:1) at Object.Qh (98b904c_react-dom.production.min_2.js:142) at Object.invokeGuardedCallback (98b904c_react-dom.production.min_2.js:143) at Object.invokeGuardedCallbackAndCatchFirstError (98b904c_react-dom.production.min_2.js:143) at Vd (98b904c_react-dom.production.min_2.js:14) at zg (98b904c_react-dom.production.min_2.js:145) at Sg (98b904c_react-dom.production.min_2.js:145)
Expected result:
More items loaded. Clean console