Suppose we have book page A and book page B which are published so that A is the parent of B.
Now suppose that I unpublish both book pages.
When I view book page A, there is no "Next" link that points to points to page B. There is also no listing of child pages since the only child, B, is unpublished.
When I view book page B, there is no "Previous" link that points to page A. HOWEVER, there *is* an "Up" link to Page A.
Another interesting thing I noticed was that unpublished book pages still have the "Add a child" link in the node view. When I click the link and add a new book page, however, the new book page (marked unpublish) will not have anything in the table for the page whose "Add child page" link I clicked.
In short, the problem is that unpublished book pages don't link to each other. Judging from the current behavior, it looks as though this is the intended design.
I want to suggest, since it may not be uncommon for authors to want to compose and link book pages together before publishing them, that book pages should allow the links generation between unpublished pages and well as between unpublished and published pages for people with edit permissions (i.e., the book author(s) and those with the 'administer nodes' permissions). In code, this would mean ignoring the status bit when generating these links on certain pages for people who have edit permissions for a book.
Anyone else's thoughts on this? I can research this and try to submit a patch if there's an interest in resolving the inconsistency the way suggested above...
Comments
Comment #1
ankur commentedComment #2
puregin commentedChanging the title
Comment #3
puregin commentedThis seems to be a duplicate of http://drupal.org/node/26552