The link "View moderation permissions for this role" on the Check Permissions page doesn't work because the placeholder is wrong.

The problem is visible in workbench_moderation.admin.inc line 408:

drupal_set_message(t('You must check manually that this role has the appropriate transition permissions for your workflow. <a href="@moderation_permission_link">View moderation permissions for this role.</a>', array('@moderation_permissions_link' => url('admin/people/permissions/' . $rid, array('fragment' => 'module-workbench_moderation')))), 'warning');

Should be:

drupal_set_message(t('You must check manually that this role has the appropriate transition permissions for your workflow. <a href="@moderation_permissions_link">View moderation permissions for this role.</a>', array('@moderation_permissions_link' => url('admin/people/permissions/' . $rid, array('fragment' => 'module-workbench_moderation')))), 'warning');

Comments

jwilson3’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new1.36 KB

This amounts to a single missing character change ('s') moderation_permission_link becomes moderation_permissions_link.

Works for me, I've rolled the change in OP into a patch.

amanire’s picture

Status: Reviewed & tested by the community » Closed (duplicate)