Skip to content

Filter on a string which is null fails #42

@EwoutB99

Description

@EwoutB99

When applying a filter on a key of type string which is NULL the code goes into an error:
"Object reference not set to an instance of an object"

While this is not the case with DateTime. Unit tests also don't include the test with string values.

Example:

Filter the list on the value "abc" for key "name", with one record in the list having name = null will throw the error.
[1] = {[name, {"value": "abc" , "matchMode": "startsWith"}}]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions