Hi all!

I've found this old email stating a solution from my problem:
http://lists.fsck.com/pipermail/rt-users/2004-October/026238.html

Applying this patch to EmailParser.pm and Email.pm older versions of
RT are capable of recognizing old names of rtname.

You have to apply a little code on the procedure ParseTicketId of both
files, restart Web Server, "et voilá!"

Here's the patch:
*** ./lib/RT/EmailParser.pm~    2004-06-15 02:08:15.000000000 +0200
--- ./lib/RT/EmailParser.pm     2004-08-23 18:58:47.000000000 +0200
***************
*** 332,337 ****
--- 332,342 ----
          $RT::Logger->debug("Found a ticket ID. It's $id");
          return ($id);
      }
+     elsif ($Subject =~ s/\[OldName \#(\d+)\]//i) {
+       my $id = $1;
+       $RT::Logger->debug("Found an old (OldName) ticket ID. It's $id");
+       return ($id);
+     }
      else {
          return (undef);
      }

I hope that this will help. Later this afternoon (GMT+0) I will
document this on the wiki.

The best regards.

Pedro Machado Santa
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Reply via email to