Closed (fixed)
Project:
Book Manager
Version:
6.x-1.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2009 at 22:48 UTC
Updated:
13 Feb 2010 at 00:10 UTC
I found two things that look like bugs in the hook_nodeapi. On $op delete it looks like there's a missing = that will foul things up pretty bad. On $op insert and update it seems like the changes to personal book status are only applicable when on the root book node, which is what book_manager_make_personal is expecting as a parameter.
It looks to me like these bugs would completely mess up the personal book status of books, so marking critical.
| Comment | File | Size | Author |
|---|---|---|---|
| book_manager-nodeapi.patch | 2.17 KB | jody lynn |
Comments
Comment #1
marcp commentedThanks for reporting this. The 'delete' case was horrible -- I committed the fix for that. The 'insert' and 'update' cases should get fixed too, but they aren't as bad since book_manager_make_personal() checks the "bookness" of the node.
I'm setting this to 'fixed' because the module needs to undergo a bit more of an overhaul which will address the rest of the hook_nodeapi() issues.