Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
None
-
None
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