Skip to content

contains in query derivation of an ElementCollection creates a proper isMember clause but encloses the argument in % leading to the wrong result. #2607

@schauder

Description

@schauder

When looking at the code CONTAINING is obviously intended to work with Strings (and be translated to x like %?%) and for collections where it gets translated to an isMemberOf. But in the later case the argument is still wrapped with % resulting in the condition yielding the wrong results. In most cases non at all.

Interesting using a simple property does work.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions