This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » Got a fatal error in QueryBuilder...

Got a fatal error in QueryBuilder [Fixed]

Got a fatal error in QueryBuilder [Fixed]

Sunday 07 April 2013 12:01:39 am - 7 replies

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 :


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

Modified on Monday 08 April 2013 9:15:04 am by Nguyen Huu Bruno

Sunday 07 April 2013 8:29:57 pm


Thanks for the heads up on this, what seems to be, bug. Could you perhaps file a report on A pull request with fix is also welcome of course.

Regards Robin

Sunday 07 April 2013 8:38:21 pm

Bug reported.


Best regard


Sunday 07 April 2013 8:41:11 pm

Hi Bruno

Did you try to reproduce this against git master branch ?

And I think you didn't report it in the right project happy.gif Emoticon. This is related to eZ Publish, not to community platforms blunk.gif Emoticon

Sunday 07 April 2013 8:42:53 pm

After some verification, this column is not specified any more in the file you mention, so this bug is probably already fixed.

Sunday 07 April 2013 9:02:27 pm

OK, I moved your issue to the right place :

And as mentioned in the issue, it should be already be fixed as of this commit.

Monday 08 April 2013 12:00:52 am

I confirm this is fixed in the last commit.

Sorry for reporting in the wrong project, I was quite lost, as this was my first bug report.


Best regards


Monday 08 April 2013 8:37:43 am

No problem !

Don't forget to mark this thread as fixed happy.gif Emoticon.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from