-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.4.0
-
Component/s: UI
-
Release Notes Summary:The selection of an item works when the nuxeo-data-table element is inside a search form.
-
Tags:
-
Backlog priority:900
-
Sprint:YO LETS DO THIS MAYBE, UI - 2020-10
Steps to reproduce:
- Deploy the attached project
- Navigate to the search AMP (Bank icon)
- Click on the ADD button for the field "Dublincore Source"
- Depending on the fact that
WEBUI-22will be fixed or not, use the TAB key to navigate to the popup - Enter a value
- Use the TAB key to choose the OK button
- Submit the search form
- Observe that an error is displayed
java.lang.ClassCastException: com.fasterxml.jackson.databind.node.IntNode cannot be cast to com.fasterxml.jackson.databind.node.ArrayNode
This is due to the fact that the form has submitted an empty value for the field AMP - actually we can see in the request that the value is ()
Expected behavior: the selected value is correctly submitted by the form
- is related to
-
WEBUI-22 Fix adding values to a data-table from a search form
- Resolved
- Is referenced in