Unpublished books can't be reordered at admin/structure/book/[bookid]

Created on 10 June 2011, about 13 years ago
Updated 23 February 2023, over 1 year ago

At admin/structure/book you get a list of books with the option to 'Edit order and titles'. If you click this for an unpublished book, the child pages do not display in the list regardless of whether they are published or not. Additionally, unpublished child pages don't display even if their parent is published.

Steps to reproduce:

  1. Install Drupal
  2. Enable book module
  3. Create a book page, unpublished
  4. Create a child book page of this (published or unpublished - doesn't matter)
  5. Create a book page, published
  6. Create a child book page of this, published
  7. Go to admin/structure/book
  8. Click 'Edit order and titles' for the published book, confirm you can see the child page
  9. Click 'Edit order and titles' for the unpublished book, confirm you cannot see the child page
  10. Further, unpublish the child created in #6
  11. Click 'Edit order and titles' for the published book, confirm you can no longer see the child page now that it is unpublished
πŸ› Bug report
Status

Closed: outdated

Version

10.1 ✨

Component
BookΒ  β†’

Last updated 4 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @pwolanin
Created by

πŸ‡ΊπŸ‡ΈUnited States wjaspers

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    I tested this on Drupal 10.1.x, standard install. I used the steps in the Issue Summary. First, I tested with the admin user and I was not able to reproduce the problem. Next, I created a user that had permission to create books, edit own books, administer content, view own unpublished content and the necessary admin book permissions. Again, I could not produce the error.

    This may have been fixed as part of #26552: Allow users with access to unpublished nodes to create unpublished books β†’ but #21 and the testing just after suggests otherwise.

    Therefore, closing as outdated. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

    Thanks!

Production build 0.69.0 2024