on instalation with table prefix, view node:

user warning: Table 'site.node_revisions' doesn't exist query: select count(vid) as revisions_count from node_revisions where vid>20 and nid=1 in sites/all/modules/content_moderation/content_moderation.module on line 195.

Comments

geek-merlin’s picture

Status: Active » Patch (to be ported)

adding curly braces in said line fixes the issue for me.
(liebe grüße eugen!)

geek-merlin’s picture

same in lines
347 355

did a vgrep on all db_ queries, i think that should have been it!

eugenmayer’s picture

thanks axel, i will port it into a patch!

geek-merlin’s picture

grepping the other files yielded also:
content_moderation.workflow.inc:156

eugenmayer’s picture

Status: Patch (to be ported) » Fixed

Thanks! Patch applied

Part of BETA5

eugenmayer’s picture

Status: Fixed » Closed (fixed)
geek-merlin’s picture

Version: 6.x-1.0-beta4 » 6.x-1.0-beta5
Status: Closed (fixed) » Patch (to be ported)

missed something? in BETA5:

missing curly braces in lines:
content_moderation.workflow.inc:161

content_moderation.module:194
content_moderation.module:347
content_moderation.module:355

eugenmayer’s picture

Status: Patch (to be ported) » Closed (fixed)

How i hate CVS.... well yes, i fu*cked it up once again. Wrong tagging -> wrong result.

so the code in head is fixed, but not the released one. closing issue

Will need to reroll beta5 and release beta6...sorry