Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The file modules/book/book-all-books-block.tpl.php has the comment:
// * @see template_preprocess_book_all_books_block()
however no such function exists. I am not sure which function is intended.
The bug exists in D7 and D6.
Comment | File | Size | Author |
---|---|---|---|
#4 | jamesan_369587-2-D6.patch | 735 bytes | JamesAn |
#2 | jamesan_369587-2.patch | 736 bytes | JamesAn |
#2 | jamesan_369587-2-D5.patch | 735 bytes | JamesAn |
Comments
Comment #1
beginner CreditAttribution: beginner commentedComment #2
JamesAn CreditAttribution: JamesAn commentedI'm not sure what that's for either. Here's the D7 and D6 patches to remove that line. Does it need to refer to something else?
Comment #3
mr.baileysThe @see-line was introduced in #160200: tplify book module without the matching template_ function, probably the result of some copy/paste/renaming. I don't think there ever was a function called template_preprocess_book_all_books_block and agree that removing this line is the right approach.
D7 patch is RTBC. Is the D6 patch supposed to be named D5?
Comment #4
JamesAn CreditAttribution: JamesAn commentedOh, sorry. "jamesan_369587-2-D5.patch" is supposed to be "jamesan_369587-2-D6.patch". My mistake.
To prevent further confusion, I've uploaded the renamed patch.
Comment #5
mr.baileysTestbot is happy too.
Comment #6
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks!