[daisy] Evaluation of a boolean field in a query restriction part
returns an error (Daisy 1.5.1)
Olivier Lange
wire at petit-atelier.ch
Wed Mar 14 12:07:24 CDT 2007
Hello,
I am using Daisy 1.5.1 and I just noticed that the following query:
SELECT name WHERE( documentType = 'Even')
AND( $EvenEnfants = true)
where $EvenEnfants is a field of type Boolean (single value, no selection list, no ACL allowed), returns an error:
Received exception from repository server.
Error performing query.
Error parsing expression.
Expected a value expression at the right-hand side of comparison operator "=" at line 2, column 19
The boolean field 'EvenEnfants' is required within the 'Even' document type.
I tried to rewrite the query, for instance:
SELECT name WHERE( documentType = 'Even')
AND( $EvenEnfants = 1)
but got an error in any case; for the above:
Received exception from repository server.
Error performing query.
Invalid boolean value: "1" (should be 'true' or 'false').
Is this a bug, a known issue? Is there a workaround? I've been searching in the mailing list archives and JIRA without luck.
Kind regards,
--
Olivier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3605 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.cocoondev.org/pipermail/daisy/attachments/20070314/6af95919/smime.bin
More information about the daisy
mailing list