Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
book.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 16:37 UTC
Updated:
10 Apr 2015 at 21:04 UTC
Jump to comment: Most recent
Comments
Comment #1
sheise commentedIt 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.
Comment #2
mikebell_ commentedSimply 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.Comment #3
margyly commentedAny progress on this?