Because revisioning overrides the node/%nid path it also prevents panels page manager to override this path. in panels i get the following message:
Page manager module is unable to enable node/%node because some other module already has overridden with _revision_view.

i'm really not familiar with how panels/revisioning works so for now i just removed the line in the menu alter function to get everything working again. would you know if this causes any problems/bugs?

i uncommented these lines:
//$items['node/%node']['page callback'] = $items['node/%node/view']['page callback'] = '_revision_view';
//$items['node/%node']['page arguments'] = $items['node/%node/view']['page arguments'] = array(1);

Comments

robydago’s picture

I'm having the same problem with panels pages when using the revisioning 6.x.3.4 module.

"i uncommented these lines:"

You mean you removed the "//" ?

My original revisioning.module have those two lines uncommented (no leading "//").
I added "//" to check if anything changed, but to no avail.

Still having the issue and no workaround...

Johnny vd Laar’s picture

oh sorry i "commented" the lines. i didn't uncomment them.

jitse’s picture

I can confirm the issue, and commenting the 2 lines from revisioning.module does bring the panels back.

A fragment:

function revisioning_menu_alter(&$items) {

  // Primary tabs for 'node/%node': View tab, Edit tab, Revisions tab ...

  // View tab can be either 'View current' or 'View latest'.
  // It should be suppressed when the 'Revisions' tab shows the same revision,
  // so we need a special access callback for this, which expands on the
  // callback defined in Module Grants.
  $items['node/%node']['access callback'] = $items['node/%node/view']['access callback'] = '_revisioning_view_edit_access_callback';
  $items['node/%node']['access arguments']= $items['node/%node/view']['access arguments']= array('view revisions', 1);
  //$items['node/%node']['page callback']   = $items['node/%node/view']['page callback']   = '_revision_view';
  //$items['node/%node']['page arguments']  = $items['node/%node/view']['page arguments']  = array(1);
  $items['node/%node']['title callback']  = $items['node/%node/view']['title callback']  = '_title_for_view_tab';
  $items['node/%node']['title arguments'] = $items['node/%node/view']['title arguments'] = array(1);
robydago’s picture

Well, if the two of you were able to make panel work by commenting those lines, I must have done something wrong.
Wil try again later.

Anyway, I also disabled the revisioning module and installed and activated the Content moderation module.
And guess what? I get the same error when I try to activate the panel page for node editing.

So who's the "culprit" here? The revisioning\moderation modules or the panel module?

eriktoyra’s picture

There is a temporary fix for this here http://drupal.org/node/519924#comment-2640810. It needs testing, so please review it and mark it as RTBC.

rdeboer’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of #519924: Panels integration fix