Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6180

Error: Index 0 out of bounds for length 0 when saving multi value field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Neutral
    • None
    • 6.2
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                bstaryga Bartosz Staryga
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD