Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isNull operator in the /entities/search endpoint doesn't work with references #120

Closed
gorbunkov opened this issue Aug 31, 2020 · 0 comments
Assignees
Labels
state: fixed Fixed by the developer type: bug Something isn't working ver: 7.2.2 ver: 7.3.0 Fixed in version
Milestone

Comments

@gorbunkov
Copy link
Contributor

Suppose we have a sample_City entity that has a reference to the sample_Country reference.

If we try to search cities where country is not set using the isNull operator:

POST http://localhost:8080/app/rest/v2/entities/sample_City/search

{
    "filter": {
      "conditions": [
                  {
                      "property": "country",
                      "operator": "isNull"
                  }
      ]
    },
    "returnCount": true
}

Then we won't get any result. For simple datatypes (string, integer, etc) the isNull operator seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: fixed Fixed by the developer type: bug Something isn't working ver: 7.2.2 ver: 7.3.0 Fixed in version
Projects
None yet
Development

No branches or pull requests

4 participants