[rt-devel] RT::Scrip=HASH(0x15445d4): Couldn't prepare Open Tickets
plasma
plasmaball at pchome.com.tw
Wed Apr 30 23:53:00 EDT 2003
On Wed, Apr 30, 2003 at 12:32:09AM -0700, Stanislav Sinyagin wrote:
> Hi,
>
> while testing Atrijus' patch, I found the following messages in
> rt.log when I added the correspondence by e-mail (I am the requestor,
> and nobody is the owner). I didn't yet notice the side effects, perhaps
> they will be seen when there's an owner:
>
> [Wed Apr 30 07:17:09 2003] [info]: Ticket 97 created in queue 'rt' by ssinyagin
> (/opt/rt3/lib/RT/Ticket_Overlay.pm:598)
> [Wed Apr 30 07:17:19 2003] [debug]: limiting to 50 rows (/opt/rt3/lib/RT/Interf
> ace/Web.pm:567)
> [Wed Apr 30 07:22:13 2003] [debug]: Found a ticket ID. It's 97 (/opt/rt3/lib/RT
> /Interface/Email.pm:156)
> [Wed Apr 30 07:22:13 2003] [info]: RT::Scrip=HASH(0x10b1e80): Couldn't prepare
> Open Tickets (/opt/rt3/lib/RT/Scrip_Overlay.pm:338)
> [Wed Apr 30 07:22:14 2003] [info]: <rt-3.0.2pre4-97-348.9.38339629810606 at as8833
> .net> #97/348 - Scrip 4 (/opt/rt3/lib/RT/Action/SendEmail.pm:91)
> [Wed Apr 30 07:22:15 2003] [info]: <rt-3.0.2pre4-97-348.9.38339629810606 at as8833
> .net> No recipients found. Not sending.
> (/opt/rt3/lib/RT/Action/SendEmail.pm:170)
> [Wed Apr 30 07:22:15 2003] [info]: <rt-3.0.2pre4-97-348.8.99333280018581 at as8833
> .net> #97/348 - Scrip 5 (/opt/rt3/lib/RT/Action/SendEmail.pm:91)
> [Wed Apr 30 07:22:16 2003] [info]: <rt-3.0.2pre4-97-348.8.99333280018581 at as8833
> .net> No recipients found. Not sending.
> (/opt/rt3/lib/RT/Action/SendEmail.pm:170)
> [Wed Apr 30 07:25:51 2003] [debug]: Converting 'Windows-1252' to 'utf-8' (/opt/
> rt3/lib/RT/I18N.pm:204)
> [Wed Apr 30 07:25:51 2003] [debug]: Found a ticket ID. It's 97 (/opt/rt3/lib/RT
> /Interface/Email.pm:156)
> [Wed Apr 30 07:25:52 2003] [info]: RT::Scrip=HASH(0x15445d4): Couldn't prepare
> Open Tickets (/opt/rt3/lib/RT/Scrip_Overlay.pm:338)
> [Wed Apr 30 07:25:52 2003] [info]: <rt-3.0.2pre4-97-349.2.93799292896246 at as8833
> .net> #97/349 - Scrip 4 (/opt/rt3/lib/RT/Action/SendEmail.pm:91)
> [Wed Apr 30 07:25:53 2003] [info]: <rt-3.0.2pre4-97-349.2.93799292896246 at as8833
> .net> No recipients found. Not sending.
> (/opt/rt3/lib/RT/Action/SendEmail.pm:170)
> [Wed Apr 30 07:25:54 2003] [info]: <rt-3.0.2pre4-97-349.14.0524853344174 at as8833
> .net> #97/349 - Scrip 5 (/opt/rt3/lib/RT/Action/SendEmail.pm:91)
> [Wed Apr 30 07:25:54 2003] [info]: <rt-3.0.2pre4-97-349.14.0524853344174 at as8833
> .net> No recipients found. Not sending.
> (/opt/rt3/lib/RT/Action/SendEmail.pm:170)
>
>
> --- Stanislav Sinyagin <ssinyagin at yahoo.com> wrote:
> > The message sent in 8bit Latin1 was accepted, the ticket text
> > is displayed correctly, and the autoreply has the correct encoding.
> > Bravo!
try this:
<patch>
==== //depot/RT/rt/lib/RT/Action/SendEmail.pm#28 (text) ====
@@ -392,9 +392,6 @@
else {
$self->SetHeader( 'From', $replyto );
}
-
- # TODO: this "via RT" should really be site-configurable.
- $self->SetHeader( 'From', "\"$friendly_name via RT\" <$replyto>" );
}
unless ( $self->TemplateObj->MIMEObj->head->get('Reply-To') ) {
</patch>
plasma
==========================================================
Ä_¨©¡IÅý§Ú¦^®a³§Aª±
http://edm-prg.epaper.com.tw/click.php?ad_code=5649
==========================================================
PChomeÁʪ«¡G¥xÆW²Ä¤@ªºÁʪ«ºô¯¸¡I
http://shopping.pchome.com.tw/
==========================================================
More information about the Rt-devel
mailing list