- π³πΏNew Zealand quietone
This extension is being deprecated, see π± [Meta] Tasks to deprecate Book module Active . It will be removed from core and moved to a contrib project, π [11.x] [Meta] Tasks to remove Book Active .
This is now Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project β and the Extensions approved for removal β policies.
This issue may be re-opened if it can be considered critical β , If unsure, re-open the issue and ask in a comment.
- Status changed to Active
9 months ago 5:31pm 26 April 2024 - Status changed to Postponed: needs info
5 months ago 4:52pm 4 September 2024 - πΊπΈUnited States smustgrave
Wonder if still an issue in 2.0.x for contrib?
- πΊπΈUnited States wmfinck
I was persuaded that this is a related issue, but as I wrote this, it might be an Adaptive Theme issue instead:
In both Book 1.0.0 and in Book 2.0.0-alpha1 I am getting the following error whenever "Printer Friendly Version" is clicked: "The website encountered an unexpected error. Try again later."
The information in the Drupal database log:
Location https://example.com/book/export/html/5
Referrer https://example.com/content/some-book-url
Message Twig\Error\RuntimeError: The "filter" filter expects a sequence/mapping or "Traversable", got "integer". in Twig\Extension\CoreExtension::filter() (line 37 of /var/www/vhosts/example.com/site/web/themes/contrib/adaptivetheme/at_core/templates/layout/book-export-html.html.twig).But I just found that this is not an issue in Olivero. I will check/make an issue at Adaptive Theme.
- Status changed to Closed: outdated
2 months ago 1:21pm 13 November 2024 - π³π±Netherlands cterveen
I've just started looking into this module again and was curious if this issue was resolved. The problem wmfinck describes is different than
the one described here and doesn't look related.I haven't tested it with version 2.0.0 alpha (can do if you wish), but from the code in book.routing.yml and BookController.php I get that this problem still exists.
I also noted that Book PDF uses it's own route rather than /book/export/pdf/{node}, I assume due to similar issues as the one described here.
- πΊπΈUnited States smustgrave
If you test with 2.0.x and still notice it feel free to reopen.
- π³π±Netherlands cterveen
I've tested it in a new 11.0.5 Drupal Install with Book 2.0.0-alpha5.
At first I couldn't replicate the bug, both /book/export/atest/1 and /book/export/test/1 worked fine.
Then I installed my own module bookexportrtf and /book/export/atest/1 stopped working: "Unknown export format.", while /book/export/test/1 worked fine. This is what's in my original report.
I uninstalled my module and both urls worked again.So there seems to be some strange interaction with my own module going on I'll have to investigate. But it looks like the Book Module on itself is working fine and the bug report can remain closed.