Fatal error: Call to undefined function: node_revision_load() in /var/www/drupal.org/htdocs/modules/book.module on line 324

This was generated on attempt to read:
http://drupal.org/node/32179

CommentFileSizeAuthor
#2 book_32.patch6.04 KBkilles@www.drop.org
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

killes@www.drop.org’s picture

Version: 4.6.3 » x.y.z
Priority: Normal » Critical

I am at it.

killes@www.drop.org’s picture

Status: Active » Needs review
FileSize
6.04 KB

Here is a quickfix which removes the offending function. The feature it was trying to implement was made impossible by the revisions patch. :-/
I suggest moving the "moderate" column from the node to the node_revisions table and then add the feature back.

The patch also fixes an input validation error in the export function.

Dries’s picture

Status: Needs review » Fixed

Committed to HEAD.

Gerhard Killesreiter’s picture

Priority: Critical » Normal
Status: Fixed » Active

How should we procede with the "multiple active versions" feature that used to exist in the book? Consider it scrapped? Rework it somehow?

Uwe Hermann’s picture

What's the status on this one?

killes@www.drop.org’s picture

"nobody cared enough". In principle it should be possible for a moderation module to track updates , get the proviously active revision, set that to active again, and display the new revision in its queue.

chx’s picture

Status: Active » Closed (won't fix)

apparently noone cares enough.