TaskQuery.taskCandidateGroupIn(), taskCandidateGroup() doesn't work properly within or() query

Description

When .taskCandidateGroupIn() or .taskCandidateGroup() is being used within an or() query, it doesn't check for other 'or' conditions.

The code below will return count 0 and an empty list.

Unit Test CandidateGroup/CandidateGroupIn inside or()

Environment

None

Status

Assignee

Unassigned

Reporter

Hao Zhong

Labels

Components

Affects versions

5.21

Priority

High
Configure