Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-676

Fix selectivity clear action on single value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.10, 2.3.2
    • Component/s: Selectivity

      Description

      When clearing a selectivity widget with the little arrow, it set the value to null. This is not a pbm in most cases.

      However, when you design a search with a nuxeo-user-suggestion bound to a named parameter, clicking reset results in an null param value. As a direct result the search does not return any result. For instance the request sent for a nuxeo-user-suggestion bound to a dc_creator named param is:

      http://localhost:5000/nuxeo/api/v1/search/pp/default_search/execute?currentPageIndex=0&offset=0&pageSize=40&sortBy=dc%3Acreated&sortOrder=asc&dc_creator=null&quickFilters=

      Note the

      dc_creator=null
      

      clause that makes the query return no result.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h