Dear mantainer team,
I have installed the new release of book_access module:
http://drupal.org/node/673502
There is a problem with the following SQL instruction and my Drupal report an error:

Update #6102

* Failed: UPDATE {node_access} SET realm = 'book_access_role' WHERE real = 'book_access'

I have modify the file book_access.install as follow:

/**
  * Implements hook_update_N().
  */
function book_access_update_6102() {
   $ret = array();
   $ret[] = update_sql("UPDATE {node_access} SET realm = 'book_access_role' WHERE realm = 'book_access'");

   return $ret;
}

I hope this is correct.......?

It's possible to correct the package ?

Best regard,
Gianni

[Edited by kiamlaluno]

Comments

avpaderno’s picture

Assigned: gcaldonazzi » Unassigned
Status: Needs review » Fixed

I have changed the code, and committed it in CVS; I have also created a new official version.

Thanks for your report.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.