Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20943

Regression caused by " Remove extraneous op_code handling in storing content relations"

    XMLWordPrintable

Details

    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=....

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 15 minutes
                6h 15m