[drupal-devel] [bug] Book printer friendly version does not recall filter_nodeapi, so many filters are broken

matteo drupal-devel at drupal.org
Thu May 5 08:11:38 UTC 2005

Issue status update for http://drupal.org/node/19377

 Project:      Drupal
 Version:      4.5.2
 Component:    book.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  matteo
 Reported by:  matteo
 Updated by:   matteo
 Status:       patch

The missing call to nodeapi is the one I added. that call executes the
filters that do not use _filter hook, as inline.module does.


Previous comments:

March 24, 2005 - 14:22 : matteo

Attachment: http://drupal.org/files/issues/book_nodeapi_1.patch (1.11 KB)

Filter_nodeapi is not recalled when printing a book.
Here is a patch that solves the problem.
You can easiliy reproduce the problem by installing inline.module,
where images are regularly printed when viewing the pages, while
[inline] tag is not rendered when printing a printer-friendly page.



April 15, 2005 - 15:37 : matteo

Any news on this matter ??


May 5, 2005 - 07:28 : puregin

Why is node_invoke_nodeapi() called twice (before and after $node->body
is appended to $output)?

More information about the drupal-devel mailing list