[MGNLUI-7020] comboBox cannot handle more than 500 entries Created: 29/Nov/21  Updated: 20/Jan/22  Resolved: 19/Jan/22

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.7.15
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
duplicate
duplicates MGNLUI-7018 comboBox fails when dataProvider size... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Magnolia 6.2.13 incorporated Vaadin 8.14.1.
This Vaadin release places a limit on the number of items a com.vaadin.data.provider.DataCommunicator can handle at once and sets a default value of 500.

Attempting to loading a dataset containing more than 500 items will throw an IllegalStateException with the message "Client tried fetch more rows than allowed. This is denied to prevent denial of service."



 Comments   
Comment by Roman Kovařík [ 29/Nov/21 ]

I'd expect a pageLength configured for bigger datasets. 

https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition/Field-definition/List-of-fields/Combobox-field.html

If this helps, documentation should be updated.

Comment by Chris Jennings [ 29/Nov/21 ]

Ah! Nice work! I thought the issue was with loading the JSON object from the remote source. Thank you!

Generated at Mon Feb 12 09:42:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.