Closed (fixed)
Project:
Revisioning
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Jun 2012 at 11:47 UTC
Updated:
23 Apr 2013 at 01:00 UTC
Revisioning module unsets the Diff module path /node/%node/revisions/%/view and overrides it with: /node/%node/revisions/%vid/view.
But the problem happens when the Diff module hooks are called after the Revisioning module hooks - so the overriding does not happen breaks the menu router item.
The solution is simple - you shuld add the weight for the Revisioning module to make its hooks load after the Diff module hooks.
In my case I updated the system table such that Diff module has weight 1 and Revisioning module - weight: 2
Comments
Comment #1
marcoBauli commentedthis helped out :) thx
Comment #2
rdeboerComment #4
ken hawkins commentedThis also happened to us using Revisioning 6.x-3.15 and Dif 6.x-2.3 and was resolved using the prescribed method of lowering the weight of Revisioning to 2.
Would seem this should be considered for committing to Revisioning.
Comment #5
rdeboerComment #6
rdeboerIn earlier versions of Revisioning and Diff weights may have been different.
In a clean install of both Revisioning 6.x-3.15 and Diff 6.x-2.3, the module "weights" of both modules equals 0. This means that Revisioning will override the Diff menu entries, as 'R' comes later in the alphabet than 'D' (and later than the 'M' of Module Grants).
So no commit is necessary. If you have played with the module weights in the past and are having trouble it's probably best to set both the Diff and Revisioning module weights back to zero.
Rik