When query string includes "User / Department / Group selection", and includes both "and" & "or". kintone.app.getQueryCondition() returns null.

When a query string doesn’t include “User / Department / Group selection” type field, and the query string include both “and” & “or”. like this:

https://test.cybozu.com/k/9237/?&q=(f6202219%20in%20(%226202213%22))%20and%20(f6202211%20%3D%20%22Sally.Yang%22)%20or%20(f6202205%20in%20(%226202208%22))

Invoke: kintone.app.getQueryCondition();

It returns correct result as below:

But when the query string includes “User / Department / Group selection” type field, and the query string include both “and” & “or”. Invoke:

kintone.app.getQueryCondition();

It returns null, and an error shows on the page:

Linner

Thanks for your question.

After doing some checks on our side, we’ve found this to be a bug on the Kintone platform.
The bug has been shared with the Kintone Dev team.

William,

Thanks for your help. Do you have any plan for the fixing of the bug?

The team is working on the bug fix, and is planned to be released in the coming months, although we cannot give you an ETA.

William,
Got it, thanks for your help.

Hi Linner

I believe the bug you ran into should be fixed with this months update :slight_smile:

https://developer.kintone.io/hc/en-us/articles/900002287243