-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2021.0
-
Component/s: Core
-
Release Notes Summary:The "nuxeo.primitive.type.strict.validation" nuxeo.conf property allows to throw an error when decoding a string input as a number (integer, long, float, double).
-
Tags:
-
Backlog priority:650
-
Upgrade notes:
-
Sprint:nxplatform #105, nxplatform #106
-
Story Points:5
Pre-requisite : define a document type with an Integer field, create some documents where this field will have different values (0, 1 and 2 for example) and define a folder view with a quick filter for this Integer field
Steps to reproduce:
- navigate to the Folder with some of the new documents
- observe that the Integer column contains various values
- set the quick filter with the value 1
- observe that only the documents where the Integer field value is 1 are returned
- now set the quick filter with the value foo
- observe that the documents where the Integer field value is 0 are returned <= this is the bug
Expected behavior: an error is returned to indicate that the search term is not correct
- is related to
-
NXP-32663 Boolean property set to a random string value using the document REST API should throw an exception
- Resolved