Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.7.8, 1.13.4, 2.3.2, 2.4.1
-
None
Description
EZ REST Api is not able to parse XML <AND> Statements when using two times criterions of same type. See example:
<OR> <ContentTypeIdentifierCriterion>author</ContentTypeIdentifierCriterion> <ContentTypeIdentifierCriterion>book</ContentTypeIdentifierCriterion> <Field> <name>title</name> <operator>EQ</operator> <value>Contributing to projects</value> </Field> <Field> <name>title</name> <operator>EQ</operator> <value>Contributing to projects</value> </Field> </OR>
Reason is that the constraints are not parsed into numeric array instead the criterion type is used as index, which causes the further parsing to break.