Errors when making a new book page node a top level item
Harry Slaughter - January 20, 2009 - 22:32
| Project: | Book access |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Harry Slaughter |
| Status: | active |
| Issue tags: | JavaScript, node.module |
Jump to:
Description
## Reproduce
- Create a new book page node
- Edit the node, go to the "outline" tab
- In the book outline fieldset, select "create a new book"
- submit
You may or may not see a js popup error: "An HTTP error 0 occurred.
/book/js/form"
You should see a watchdog error: "warning: Invalid argument supplied for foreach() in .../modules/node/node.module on line 2227."

#1
A check I had for a value was removed from an older version of this code. Reverting the code fixes this problem.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.
#3
How exactly did you Fix the problem? I ran into into it on my 6.10 instalation.