RT 3.6.5rc2 not compatible with MIME::Parser version 5.421 (but 5.420 ok)

Hello,

just a warning for all not to upgrade MIME::Parser to version 5.421, this
will render rt-mailgate unfunctional as we observed here.

This is because RT::EmailParser calls the sub MIME::Parser->tmp_recycling
which happens to be deleted in 5.421

Regards,
Dirk.

Does this patch fix it? If so, It will make it into 3.6.5:

pinglin:~/svk/rt-3.6 jesse$ svk diff lib/RT/EmailParser.pm
=== lib/RT/EmailParser.pm
— lib/RT/EmailParser.pm (revision 67593)
+++ lib/RT/EmailParser.pm (local)
@@ -615,7 +615,7 @@
# Turns out that the default is to recycle tempfiles
# Temp files should never be recycled, especially when running
under perl taint checking

  • $parser->tmp_recycling(0);
  • $parser->tmp_recycling(0) if $parser->can(‘tmp_recycling’);

}

Thanks!On Sep 25, 2007, at 1:43 PM, Dirk Pape wrote:

Hello,

just a warning for all not to upgrade MIME::Parser to version
5.421, this will render rt-mailgate unfunctional as we observed here.

This is because RT::EmailParser calls the sub MIME::Parser-

tmp_recycling which happens to be deleted in 5.421

Regards,
Dirk.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly
Media. Buy a copy at http://rtbook.bestpractical.com

PGP.sig (186 Bytes)

Hello Jesse,

–Am 26. September 2007 00:41:48 -0400 schrieb Jesse Vincent
jesse@bestpractical.com:

Does this patch fix it? If so, It will make it into 3.6.5:

yes it does.

Regards,
Dirk.