This module is incompatible with the API changes that workbench_moderation 7.x-2.x introduces.

For example, function workbench_moderation_node_type_moderated() does not exist, which raises a PHP error when displaying a node…

PHP Fatal error: Call to undefined function workbench_moderation_node_type_moderated() in /somepath/docroot/sites/all/modules/contrib/metatag/metatag.module on line 1362

CommentFileSizeAuthor
#3 metatag-n2169547-3.patch3.23 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Patches are welcome :-)

mattlt’s picture

The same issue was found in the apachesolr_workbench_moderation module. Their solution was to require workbench_moderation (7.x-1.x) as a dependency in the info file.

Pretty sure that solution wouldn't work here. Also, not sure I have the knowledge to produce a patch. :-(

I'll see what I can find that might help.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
3.23 KB

This will at least stop the error from happening, and adds a warning message if Workbench Moderation v2 is also installed, but doesn't actually fix the integration.

DamienMcKenna’s picture

I've added another issue for working on the actual integration: #2169575: Integration with Workbench Moderation v2

mattlt’s picture

I added a comment about an incorrect module name in line 105 of the patch using the review button. Let me know if I'm doing it wrong.

DamienMcKenna’s picture

After you do that you have to click the "paste" button to copy your change into the comment field.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

Elijah Lynn’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.