Current this works (with #1831524: Previous/Next revision does not show diffs), but the integration is bad, with the context jumping from the Diff modules page callbacks and the Workflow Moderation page callbacks.

Patch coming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Alan D.’s picture

Status: Active » Needs review
FileSize
3.04 KB
hass’s picture

Not sure why your opened a new case, but this patch works for me. Here is an updated patch without tabs (code style).

Alan D.’s picture

You picked up a bug in the standard view / marked down view in the other thread. This was absolutely independent to Workbench Moderation, it was simply more obvious when using this module :)

This patch directly resolves the integration issues in relation to keeping context when navigating around using Workflow Moderation module.

Thanks for catching the tabs, I running four individual Eclipse workspaces that are still not 100% tab free.

Only moderate level of testing, so waiting on others to rtbtc this one.

hass’s picture

You should not expect reviews... :-( commit it if it's good and working.

Alan D.’s picture

lol. Then I'll take the approach of core. If 100% happy, push through prior to a release, else (as in this case - only 97% happy) push to dev after the release.

hass’s picture

Who are these 3%? I'm fine with it. Can do another review with and without :-)

PS: I never got one proper review in the google analytics queue for past 5 years. Just as one example with 250k installs... Just to get a feeling about reviews in contrib. I expect nothing anymore.

Alan D.’s picture

Status: Needs review » Needs work

Revisioning / diff menu items are breaking with this patch

rajmataj’s picture

Issue summary: View changes

Is there any new work on this? I am currently running:

  • Drupal 7.41
  • Diff 7.x-3.2
  • Workbench Moderation 7.x-1.4

On a content type where Workbench has created a field of type: 'Workbench Access settings', changes made to a node and then viewed with the 'Preview Changes' button do not register any changes made to the workbench section. All other fields are showing a change if changed but Workbench seems to be the exception.

brockfanning’s picture

I am not sure how exactly things were breaking as mentioned in #7, but here is a reroll of Hass' patch (which works great by the way). I left out one section related to Diff 2.x support, because I wasn't sure if that is still needed.

Alan D.’s picture

When using the Revisioning module (not workbench), the menus broke. It was fairly apparent at the time, albeit 5 years ago, so fuzzy on the details.

Patch was fine against Workbench moderation at the time and it was only the cross-module testing that blocked this patch (aka was safe & working 5 years ago with just Workbench moderation)

jollysolutions’s picture

Status: Needs review » Reviewed & tested by the community
Alan D.’s picture

@jollysolutions

Did you try this with the various node revisioning modules other than Workbench? This is rtbtc already in relation to Workbench, but it completely broke revisioning.

Being a generic utility module, it needs to support all.