[rt-users] XLS export balks

Boris Epstein borepstein at gmail.com
Wed Sep 9 17:59:57 EDT 2015


Perhaps this is related:

https://rt.cpan.org/Public/Bug/Display.html?id=92168

Boris.

On Wed, Sep 9, 2015 at 5:52 PM, Boris Epstein <borepstein at gmail.com> wrote:

> Hello listmates,
>
> I have an RT 4.2.0 installation using Postgresql as DB engine running on a
> CentOS 6 server where every attempt to extract a search to XLS results in a
> failure.
>
> The failure manifests itself in the following way. The user's browser
> displays the following message:
>
> *An internal RT error has occurred. Your administrator can find more
> details in RT's log files.*
>
> The Apache/HTTPD log displays the following:
>
> *[27915] [Wed Sep  9 21:20:27 2015] [error]: Undefined subroutine
> &RT::SQL::PossibleCustomFields called at
> /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls
> line 80.*
>
> *Stack:*
> *
> [/opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls:80]*
> *  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:680]*
> *  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:368]*
> *  [/opt/rt4/share/html/autohandler:53]
> (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:211)*
>
> Here is what I think is the relevant excerpt
> from /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls
>
> *...*
> *my $col_entry = sub {*
> *    my $col = shift;*
> *    # in tsv output, "#" is often a comment character but we use it for
> "id"*
> *    delete $col->{title}*
> *        if $col->{title} and $col->{title} =~ /^\s*#\s*$/;*
> *    return {*
> *        header => loc($col->{title} || $col->{attribute}),*
> *        map    => $m->comp(*
> *            "/Elements/ColumnMap",*
> *            Name  => $col->{attribute},*
> *            Attr  => 'value'*
> *        ),*
> *...*
>
> Line 80 is the line that says: my $col = shift;
>
> Has anyone encountered something like this? Any idea what this may be?
>
> Thanks.
>
> Boris.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150909/a72202df/attachment.htm>


More information about the rt-users mailing list