Network catalog checkbox not saving after Pressbooks upgrade

Network catalog checkbox not saving after Pressbooks upgrade

Hello everyone,

I’m experiencing a problem adding new books to the network catalog on our self-hosted Pressbooks installation.

When I select the checkbox under Network Admin → Books → In Catalog, the change doesn’t save and the book doesn’t appear in the catalog even though the book is shown as “public”.

I’ve tested this in Firefox, Chrome, and Edge with the same result.

Our installation is running:

  • Pressbooks 6.45.7
  • Pressbooks Network Catalog 1.6.3
  • PHP 8.3.36

The books are public, and existing catalog entries continue to display correctly.

We were able to add a book successfully through WP-CLI by updating pressbooks_publisher_in_catalog and pb_in_catalog to 1. The book then appeared in the catalog as expected.

I also found a related GitHub issue:

I’m wondering whether other network administrators have encountered this problem following a recent upgrade, or whether a fix is already being developed.

Thanks!

Doug Strable

I opened this issue a couple weeks back.

I think if anyone from Pressbooks is trying to reproduce this, one important thing is that we are running the open source version of Pressbooks, which I think means that our admin book screen is different than your admin book screen because you have modified the book screen for SAAS customers.

Using AI, we were able to apply a patch to the Aldine theme which temporarily solved the problem for us. We have included a link to the patch in the GitHub issue for you to inspect.

Hello

I want to let everyone know that this issue has been resolved by updating the Aldine theme to version 1.28.0. I confirm that the Network Catalog checkbox now works as expected. Changes are saved correctly, and the catalog is functioning normally.

Thank you to the Pressbooks development team for addressing this issue so quickly. Much appreciated!