Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Cannot filter entity queries by fields mapped as xsd:string #6

Open
claudiu-cristea opened this issue Oct 15, 2019 · 1 comment
Open

Comments

@claudiu-cristea
Copy link
Contributor

Cannot filter entity queries by fields mapped as xsd:string

@idimopoulos
Copy link
Contributor

This actually works fine on a normal case. The use case that does fail, is when there is a condition
$query->condition('field_name', '') where it does not translate as null or adds an empty string and the final query is malformed as the result is
?subject ?predicate without an ?object in the end.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants