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

Got a fatal error in QueryBuilder

    XMLWordPrintable

Details

    Description

      I got a mysql fatal error in QueryBuilder while using the following code

      • $contentDraft = $contentService->updateContent( $contentDraft->versionInfo, $contentUpdateStruct );

      I did identify the bug in source file :

      ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/EzcDatabase/QueryBuilder.php

      line 165 : $this->dbHandler->aliasedColumn( $query, 'op_code', 'ezcontentobject_link' )

      The column 'op_code' is no more in the table ezcontentobject_link.

      I did commented the line, and now all works without trouble.

      I was using the following release : ezpublish5_community_project-2013.1-gpl-full

      Attachments

        Activity

          People

            Unassigned Unassigned
            nguyenbr nguyenbr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: