findEntities doesn't handle negated id conditions #2876
Labels
No labels
backend
critical
defect
duplicate
enhancement
fixed
frontend
general
invalid
major
minor
normal
oxjs
pandora_client
python-ox
task
trivial
wontfix
worksforme
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 0x2620/pandora#2876
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Assume you have an entity with id
BOC
. Then:should return any entity except that one, but in fact it returns exactly that one. The same thing happens if you try to negate a query on any field other than
type
.Patch incoming.
Attachment 0001-findEntities-fix-negated-conditions-fixes-2876.patch (1597 bytes) added
Of course you could just as well sprinkle some more branches around if you think that's clearer than breaking the function in two.
Also available at https://gitlab.com/wjt/pandora.git in the
2876-findEntities
branch.In 6008f3b/pandora: