When creating a new book page, the option is selected. When you save the draft, no new book is created, and instead the page is added to an already existing book.

It works properly if you save the page as "Published" the first time instead of a draft.

Comments

sheise’s picture

It does actually create the new book.

The problem is that when you then edit the node, the book options only show published nodes, so it won't list itself and defaults to a different book, and saving it then makes it a page in that book.

I'm not sure what the best way around this is though.

mikebell_’s picture

Version: 7.14 » 7.x-dev

Simply commenting out line 383 in book.module fixes this but obviously that's not a nice solution.

A switch could be added to book_get_book which sets whether $query->condition('n.status', 1); gets added to the query.

margyly’s picture

Issue summary: View changes

Any progress on this?