Hi, Folks,
        
I'm trying to figure out why a new RT 3.6.1 install (fc3, postgresql 7.4.11, modperl2, perl 5.8.5, apache 2.0.53, postfix 2.1.5) isn't doing reply-to-requestors or comments from the web interface. The output html starts with a </div> tag and includes the number of msec the query took but no content before that.

I'm seeing the syslog error:

Aug 24 21:23:54 server1 RT: Use of uninitialized value in substitution (s///) at /opt/rt3/lib/RT/Interface/Web.pm line 617. (/opt/rt3/lib/RT/Interface/Web.pm:617)

which is the line:

    $args{'Body'} =~ s/\r\n/\n/gs;

in the following code snippet:

    #TODO document what else this takes.
    my %args = (
        Subject             => undef,
        From                => undef,
        Cc                  => undef,
        Body                => undef,
        AttachmentFieldName => undef,
#        map Encode::encode_utf8($_), @_,
        @_,
    );

    #Make the update content have no 'weird' newlines in it

    $args{'Body'} =~ s/\r\n/\n/gs;

Yet, if I Dumper(@_), I see:

Aug 24 21:27:22 server1 RT: $VAR1 = 'Subject'; $VAR2 = undef; $VAR3 = 'Body'; $VAR4 = 'reply test test test '; (/opt/rt3/lib/RT/Interface/Web.pm:615)

which looks like it ought to add to the hash correctly.

Debugging steps taken so far: SQL query logging (no errors), increasing postgresql RAM (I hadn't done any performance tuning yet) commenting out that line of code (no improvement other than masking the error).

Additional curiosity - I don't seem to be getting watcher mail either.

Does anybody see what I'm missing here?  Or is this just a red herring?

Thanks,
-Bill

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
[EMAIL PROTECTED]           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf

_______________________________________________
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