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

Problem with OR datalength in property condition #219

Open
DigiH opened this issue Oct 20, 2022 · 0 comments
Open

Problem with OR datalength in property condition #219

DigiH opened this issue Oct 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@DigiH
Copy link
Member

DigiH commented Oct 20, 2022

Property condition
"condition":["servicedata", "=", 32, "|", "servicedata", "=", 36, "&", "servicedata", 23, "!", "6"],

fails, possibly due to the added AND index check after the two OR conditions

had to work around it with

"condition":["servicedata", ">=", 32, "&", "servicedata", 23, "!", "6"],

as the model condition already checks for

"condition":["servicedata", "=", 30, "|", "servicedata", "=", 32, "|", "servicedata", "=", 36, "&", "name", "index", 0 …

it's fine here, but will need looking at eventually.

@DigiH DigiH added the bug Something isn't working label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant