It seems that codes are not compatible, as you can see in book module :

function book_submit(&$node) {
  global $user;
  // Set default values for non-administrators.
  if (!user_access('administer nodes')) {
    $node->weight = 0;
    $node->revision = 1;
    $book->uid = $user->uid;
    $book->name = $user->uid ? $user->name : '';
  }
} 

is not compatible with the submission/validation hook as defined in 'weights'.

Comments

merlinofchaos’s picture

What are you talking about?

dlr’s picture

Sory, talking about the "weights" module.
Regards David

merlinofchaos’s picture

Project: Views (for Drupal 7) » Weight
Version: 4.7.x-1.x-dev » master

Reassigning to weight project then, I guess.

dlr’s picture

Oups, sorry again...

harry slaughter’s picture

Assigned: Unassigned » harry slaughter

looks like there's a problem on the edit page for book nodes. the 'node weight' and 'page weight' properties are sharing the 'weight' form name.

will give the weight module its own namespace 'node_weight' to prevent this sort of conflict.

also going to expand help text to make it clearer what the purpose of weight.module is.

harry slaughter’s picture

Status: Active » Fixed

fixed in CVS. will go out with next tag

Anonymous’s picture

Status: Fixed » Closed (fixed)