Download & Extend

Errors when making a new book page node a top level item

Project:Book access
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:JavaScript, node.module

Issue Summary

## 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."

Comments

#1

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

Status:fixed» closed (fixed)

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

#3

Status:closed (fixed)» active

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

#4

Is this issue still open?

#5

Assigned to:Harry Slaughter» Anonymous
Status:active» postponed (maintainer needs more info)

#6

Status:postponed (maintainer needs more info)» fixed

As per comment by Harry Slaughter, I am marking this issue as fixed.

#7

Status:fixed» closed (fixed)

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