Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-23

Fix item selection of a nuxeo-data-table in a search form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.34, 3.0.2
    • Component/s: UI
    • Release Notes Summary:
      The selection of an item works when the nuxeo-data-table element is inside a search form.
    • Backlog priority:
      900
    • Sprint:
      YO LETS DO THIS MAYBE, UI - 2020-10

      Description

      Steps to reproduce:

      1. Deploy the attached project
      2. Navigate to the search AMP (Bank icon)
      3. Click on the ADD button for the field "Dublincore Source"
      4. Depending on the fact that WEBUI-22 will be fixed or not, use the TAB key to navigate to the popup
      5. Enter a value
      6. Use the TAB key to choose the OK button
      7. Submit the search form
      8. 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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 2 hours
                  2d 2h