[MGNLUI-6180] Error: Index 0 out of bounds for length 0 when saving multi value field Created: 02/Sep/20  Updated: 02/Sep/20  Resolved: 02/Sep/20

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

Type: Bug Priority: Neutral
Reporter: Bartosz Staryga Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLUI-6149 Exception when saving property as mul... 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

 Description   

To reproduce:

  • Open dialog with multi value field
  • Add element to empty multi value field
  • Remove element from multi value field (leaving it empty)
  • Save dialog

Error thrown:
Index 0 out of bounds for length 0

RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
caused by InvocationTargetException
caused by MethodException: Invocation of method buttonClick in info.magnolia.ui.dialog.ActionButton$$Lambda$1693/0x000000080265a440 failed.
caused by RuntimeException: info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: commit
caused by ActionExecutionException: Action execution failed for action: commit
caused by IndexOutOfBoundsException: Index 0 out of bounds for length 0


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