[rt-users] Rép. : Re: Ticket Forwarding

Horst Kriegers Horst.Kriegers at loro.ch
Thu Dec 16 03:21:44 EST 2010


Yes, unmerged ticket with binary is fine.
 
I've tried following, from History page :
- Forward only the first ticket (without attachment) : OK
- Forward only the second ticket (with binary) : KO
 
 
The second ticket has only the attached file, without any note.
The attached file is a PDF file.
During the ticket creation, the file was attached without his extension
(.pdf ).
 
 
 
Horst
 
 
>>> Le Mercredi, 15. Décembre 2010 à  17:03, Kevin Falcone
<falcone at bestpractical.com> a écrit :

On Wed, Dec 15, 2010 at 08:13:09AM +0100, Horst Kriegers wrote:
>    - RT Version 3.8.8
>    - It seems to be for only for a specific merged tickets wich
contains a binary attached file

So, just to confirm, binary attachment, unmerged is fine, but binary +
merge seems to break when forwarding the whole ticket?

Also, I'm curious if this is a ticket where there isn't a message,
just the attachment or if there is a note + attachment.

-kevin

>    - Stacktraces gives only : See attached "RT_forward_stack.txt"
file
> 
> 
>    Tanks for your help
>    Horst
> 
>    >>> Le Mardi, 14. Decembre 2010    17:14, Kevin Falcone
<falcone at bestpractical.com> a ecrit :
> 
>    On Tue, Dec 14, 2010 at 04:11:16PM +0100, Horst Kriegers wrote:
>    >    Hi list,
>    >
>    >    following error apear by using the ticket Forward function :
>    >
>    >    A blank page with only the text "Can't call method
"ContentAsMIME" on an undefined value
>    at
>    >    /opt/rt_prd/bin/../lib/RT/Transaction_Overlay.pm line 529,
line 276. "
> 
>    RT Version?
>    Is this on any ticket or one in particule?
>    What do you get if you enable stacktraces in your config on
errors?
> 
>    -kevin
> 
>    >    RT log says only :
>    >    [Tue Dec 14 15:02:57 2010] [debug]: We found a merged ticket.
30160/30162
>    >    (/opt/rt_prd/bin/../lib/RT/Ticket_Overlay.pm:185)
>    >
> 
>   
_______________________________________________________________________
> 
>    Le contenu de ce courriel est uniquement reserve `a la personne ou
l'organisme `a qui il est
>    destine. Si vous n'etes pas le destinataire prevu, veuillez nous
en informer au plus vite et
>    detruire le present courriel. Dans ce cas, il ne vous est pas
permis de copier ce courriel, de
>    le distribuer ou de l'utiliser de quelque maniere que ce soit.
> 
>   
_______________________________________________________________________
> 
>    The content of this e-mail is intended only and solely for the use
of the named recipient or
>    organisation. If you are not the named recipient, please inform us
immediately and delete the
>    present e-mail. In this case, you are nor allowed to copy,
distribute or use this e-mail in
>    any way.
> 
>   
_______________________________________________________________________

> ======================
>  Displayed on Screen
> ======================
> System error
> error:  Can't call method "ContentAsMIME" on an undefined value at
/opt/rt_prd/bin/../lib/RT/Transaction_Overlay.pm line 529, <DATA> line
276.
> context:  
> ...  
> 525:  sub ContentAsMIME {
> 526:  my $self = shift;
> 527:  
> 528:  my $main_content = $self->ContentObj;
> 529:  my $entity = $main_content->ContentAsMIME;
> 530:  
> 531:  if ( $main_content->Parent ) {
> 532:  # main content is not top most entity, we shouldn't loose
> 533:  # From/To/Cc headers that are on a top part
> ...  
> code stack:  /opt/rt_prd/bin/../lib/RT/Transaction_Overlay.pm:529
> /opt/rt_prd/bin/../lib/RT/Interface/Email.pm:625
> /opt/rt_prd/share/html/Ticket/Forward.html:99
> /opt/rt_prd/bin/../lib/RT/Interface/Web.pm:320
> /opt/rt_prd/bin/../lib/RT/Interface/Web.pm:224
> /opt/rt_prd/share/html/autohandler:53
> raw error
> 
> 
> 
> 
> Can't call method "ContentAsMIME" on an undefined value at
/opt/rt_prd/bin/../lib/RT/Transaction_Overlay.pm line 529, <DATA> line
276.
> 
> 
> Trace begun at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
> HTML::Mason::Exceptions::rethrow_exception('Can\'t call method
"ContentAsMIME" on an undefined value at
/opt/rt_prd/bin/../lib/RT/Transaction_Overlay.pm line 529, <DATA> line
276.^J') called at /opt/rt_prd/bin/../lib/RT/Transaction_Overlay.pm line
529
> RT::Transaction::ContentAsMIME('RT::Transaction=HASH(0x3aa6b30)')
called at /opt/rt_prd/bin/../lib/RT/Interface/Email.pm line 625
> RT::Interface::Email::ForwardTicket('RT::Ticket=HASH(0x3a97b60)',
'Cc', '', 'ForwardAndReturn', 'Forward Message and Return', 'id', 30162,
'To', 'horst.kriegers at loro.ch', 'QuoteTransaction', '', 'Bcc', '')
called at /opt/rt_prd/share/html/Ticket/Forward.html line 99
> HTML::Mason::Commands::__ANON__('Cc', '', 'ForwardAndReturn',
'Forward Message and Return', 'To', 'horst.kriegers at loro.ch', 'id',
30162, 'QuoteTransaction', '', 'Bcc', '') called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x732850)',
'Cc', '', 'ForwardAndReturn', 'Forward Message and Return', 'To',
'horst.kriegers at loro.ch', 'id', 30162, 'QuoteTransaction', '', 'Bcc',
'') called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1262
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'Cc', '',
'ForwardAndReturn', 'Forward Message and Return', 'To',
'horst.kriegers at loro.ch', 'id', 30162, 'QuoteTransaction', '', 'Bcc',
'') called at /opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 320
> RT::Interface::Web::ShowRequestedPage('HASH(0x736060)') called at
/opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 224
> RT::Interface::Web::HandleRequest('HASH(0x736060)') called at
/opt/rt_prd/share/html/autohandler line 53
> HTML::Mason::Commands::__ANON__('Cc', '', 'ForwardAndReturn',
'Forward Message and Return', 'To', 'horst.kriegers at loro.ch', 'id',
30162, 'QuoteTransaction', '', 'Bcc', '') called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7398e0)',
'Cc', '', 'ForwardAndReturn', 'Forward Message and Return', 'To',
'horst.kriegers at loro.ch', 'id', 30162, 'QuoteTransaction', '', 'Bcc',
'') called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1257
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'Cc', '',
'ForwardAndReturn', 'Forward Message and Return', 'To',
'horst.kriegers at loro.ch', 'id', 30162, 'QuoteTransaction', '', 'Bcc',
'') called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 418
>
HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0x46407d0)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 168
>
HTML::Mason::Request::ApacheHandler::exec('RT::Interface::Web::Request=HASH(0x46407d0)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 825
>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2175df0)',
'Apache2::RequestRec=SCALAR(0x1a3b120)') called at
/opt/rt_prd/bin/webmux.pl line 78
> eval {...} at /opt/rt_prd/bin/webmux.pl line 78
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0x1a3b120)') called at
-e line 0
> eval {...} at -e line 0
> 
> 
> 
> 
> 
>
================================================================================================
>     RT.LOG
> ================
> [Wed Dec 15 07:06:58 2010] [warning]: Use of uninitialized value in
join or string at /opt/rt_prd/share/html/Ticket/Forward.html line 60,
<DATA> line 276. (/opt/rt_prd/share/html/Ticket/Forward.html:60)
> Trace begun at /opt/rt_prd/bin/../lib/RT.pm line 291
> Log::Dispatch::log(undef, 'level', 'warning', 'message', 'Use of
uninitialized value in join or string at
/opt/rt_prd/share/html/Ticket/Forward.html line 60, <DATA> line 276.^J')
called at /opt/rt_prd/share/html/Ticket/Forward.html line 60
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x835de0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1262
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 320
> RT::Interface::Web::ShowRequestedPage('HASH(0x732030)') called at
/opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 224
> RT::Interface::Web::HandleRequest('HASH(0x732030)') called at
/opt/rt_prd/share/html/autohandler line 53
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7363a0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1257
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 418
>
HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 168
>
HTML::Mason::Request::ApacheHandler::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 825
>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2175df0)',
'Apache2::RequestRec=SCALAR(0x391ba60)') called at
/opt/rt_prd/bin/webmux.pl line 78
> eval {...} at /opt/rt_prd/bin/webmux.pl line 78
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0x391ba60)') called at
-e line 0
> eval {...} at -e line 0
> [Wed Dec 15 07:06:58 2010] [warning]: Use of uninitialized value in
join or string at /opt/rt_prd/share/html/Ticket/Forward.html line 68,
<DATA> line 276. (/opt/rt_prd/share/html/Ticket/Forward.html:68)
> Trace begun at /opt/rt_prd/bin/../lib/RT.pm line 291
> Log::Dispatch::log(undef, 'level', 'warning', 'message', 'Use of
uninitialized value in join or string at
/opt/rt_prd/share/html/Ticket/Forward.html line 68, <DATA> line 276.^J')
called at /opt/rt_prd/share/html/Ticket/Forward.html line 68
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x835de0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1262
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 320
> RT::Interface::Web::ShowRequestedPage('HASH(0x732030)') called at
/opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 224
> RT::Interface::Web::HandleRequest('HASH(0x732030)') called at
/opt/rt_prd/share/html/autohandler line 53
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7363a0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1257
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 418
>
HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 168
>
HTML::Mason::Request::ApacheHandler::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 825
>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2175df0)',
'Apache2::RequestRec=SCALAR(0x391ba60)') called at
/opt/rt_prd/bin/webmux.pl line 78
> eval {...} at /opt/rt_prd/bin/webmux.pl line 78
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0x391ba60)') called at
-e line 0
> eval {...} at -e line 0
> [Wed Dec 15 07:06:58 2010] [warning]: Use of uninitialized value in
join or string at /opt/rt_prd/share/html/Ticket/Forward.html line 71,
<DATA> line 276. (/opt/rt_prd/share/html/Ticket/Forward.html:71)
> Trace begun at /opt/rt_prd/bin/../lib/RT.pm line 291
> Log::Dispatch::log(undef, 'level', 'warning', 'message', 'Use of
uninitialized value in join or string at
/opt/rt_prd/share/html/Ticket/Forward.html line 71, <DATA> line 276.^J')
called at /opt/rt_prd/share/html/Ticket/Forward.html line 71
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x835de0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1262
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 320
> RT::Interface::Web::ShowRequestedPage('HASH(0x732030)') called at
/opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 224
> RT::Interface::Web::HandleRequest('HASH(0x732030)') called at
/opt/rt_prd/share/html/autohandler line 53
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7363a0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1257
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 418
>
HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 168
>
HTML::Mason::Request::ApacheHandler::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 825
>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2175df0)',
'Apache2::RequestRec=SCALAR(0x391ba60)') called at
/opt/rt_prd/bin/webmux.pl line 78
> eval {...} at /opt/rt_prd/bin/webmux.pl line 78
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0x391ba60)') called at
-e line 0
> eval {...} at -e line 0
> [Wed Dec 15 07:06:59 2010] [warning]: Use of uninitialized value in
join or string at /opt/rt_prd/share/html/Ticket/Forward.html line 74,
<DATA> line 276. (/opt/rt_prd/share/html/Ticket/Forward.html:74)
> Trace begun at /opt/rt_prd/bin/../lib/RT.pm line 291
> Log::Dispatch::log(undef, 'level', 'warning', 'message', 'Use of
uninitialized value in join or string at
/opt/rt_prd/share/html/Ticket/Forward.html line 74, <DATA> line 276.^J')
called at /opt/rt_prd/share/html/Ticket/Forward.html line 74
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x835de0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1262
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 320
> RT::Interface::Web::ShowRequestedPage('HASH(0x732030)') called at
/opt/rt_prd/bin/../lib/RT/Interface/Web.pm line 224
> RT::Interface::Web::HandleRequest('HASH(0x732030)') called at
/opt/rt_prd/share/html/autohandler line 53
> HTML::Mason::Commands::__ANON__('id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
>
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7363a0)',
'id', 30162) called at
/opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1257
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 1252
> HTML::Mason::Request::comp(undef, undef, undef, 'id', 30162) called
at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 466
> eval {...} at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/Request.pm
line 418
>
HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 168
>
HTML::Mason::Request::ApacheHandler::exec('RT::Interface::Web::Request=HASH(0x2893310)')
called at /opt/perl_prd/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 825
>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2175df0)',
'Apache2::RequestRec=SCALAR(0x391ba60)') called at
/opt/rt_prd/bin/webmux.pl line 78
> eval {...} at /opt/rt_prd/bin/webmux.pl line 78
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0x391ba60)') called at
-e line 0
> eval {...} at -e line 0
> [Wed Dec 15 07:07:14 2010] [debug]: We found a merged ticket.
30160/30162 (/opt/rt_prd/bin/../lib/RT/Ticket_Overlay.pm:185)


___________________________________________________________
Le contenu de ce courriel est uniquement réservé à la personne ou 
l'organisme à qui il est destiné. Si vous n'êtes pas le destinataire
prévu, veuillez nous en informer au plus vite et détruire le présent
courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel,
de le distribuer ou de l'utiliser de quelque manière que ce soit.

The content of this e-mail is intended only and solely for the use 
of the named recipient or organisation. If you are not the named 
recipient, please inform us immediately and delete the present e-mail. 
In this case, you are nor allowed to copy, distribute or use this 
e-mail in any way.
___________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101216/9f101579/attachment.html>


More information about the rt-users mailing list