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
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

Harry Slaughter - January 21, 2009 - 02:08
Assigned to:Anonymous» Harry Slaughter
Status:active» fixed

A check I had for a value was removed from an older version of this code. Reverting the code fixes this problem.

#2

System Message - February 4, 2009 - 02:10
Status:fixed» closed

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

#3

sirAndrew - March 19, 2009 - 02:21
Status:closed» active

How exactly did you Fix the problem? I ran into into it on my 6.10 instalation.

 
 

Drupal is a registered trademark of Dries Buytaert.