Hi,
I upgraded to 6.7.0 and now when I run
cnnTaskService.createTaskQuery().taskCandidateOrAssigned(assignee).list()
gives the following error
### The error may exist in org/flowable/task/service/db/mapping/entity/Task.xml
### The error may involve org.flowable.task.service.impl.persistence.entity.TaskEntityImpl.selectTaskByQueryCriteria-Inline
### The error occurred while setting parameters
### SQL: SELECT RES.* from ACT_RU_TASK RES WHERE (RES.ASSIGNEE_ = ? or ( RES.ASSIGNEE_ is null and exists(select LINK.ID_ from ACT_RU_IDENTITYLINK LINK where LINK.TASK_ID_ = RES.ID_ and LINK.TYPE_ = 'candidate' and (LINK.USER_ID_ = ? or )))) order by RES.ID_ asc
### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))))
Not sure whether it is a bug ?