Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.1-dev
-
ezp 5.1
Description
the commit from issue ezp-20239 causes the fetch operator to break with some parameters. case example :
{set $test=fetch( 'content', 'related_objects', hash( 'object_id', $node.object.id, 'attribute_identifier', 'article/title' ) )}the cause is the missing line (from the commit):
$relatedClassIdentifiersSQL
- ezcontentobject_link.op_code='0'
$relationTypeMasking
it causes a mysql syntax error with the code:
...ezcontentobject.status=1 AND
AND contentclassattribute_id=....