"Cannot read property ‘get’ of undefined" due to empty parent condition groups

This is in regard to a paged query condition. It’s currently possible to create a condition group inside an empty parent group. When a condition “toggle condition” is set on the inner group the query fails with:

{“status”:“500”,“message”:“Cannot read property ‘get’ of undefined”,“stack”:"TypeError: Cannot read property ‘get’ of undefined…

Example:

It caused some time wasted to figure this out, so for new people, you may wish to detect and prevent saving, or at least warn them. :wink:

Community Page
Last updated: