Closed (fixed)
Project:
Code Filter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2010 at 07:30 UTC
Updated:
3 Nov 2012 at 13:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
damien tournoud commentedHere are patches for both D6 and HEAD. Untested, because the module itself has no test cases.
Comment #2
gerhard killesreiter commentedThe patch can be tested on driphop.drupal.org.
Comment #3
johnalbinThanks, Damien!
http://drupal.org/cvs?commit=476448
http://drupal.org/cvs?commit=476452
Comment #5
rfayWell... except that this completely breaks all of the functionality of codefilter module :-(
After this patch (48f177 in D6), all code is completely removed when you try to use codefilter in 6.x.
Marking critical, as it's absolutely and completely broken. D7 doesn't seem to be broken as badly (and not by this patch)
Example content:
Results in D6 after commit 48f177:

Comment #6
rfayI think this should fix it. The callbacks take arrays, and that just wasn't done here.
Comment #7
rfayI guess I should attach the patch
Comment #8
webchickYes please. I was looking into debugging #1322960: No support for PHP namespaces and started with the latest 6.x-1.x-dev release.
It turned this:
Into:
Patch fixes it.
Comment #9
damien tournoud commented(Thanks for fixing. I did specified "untested" back in #1.)
Comment #10
johnalbinThanks, Randy!