Hi!
I have seen that my modification for rt has been committed to the CVS. I�ve tried the new version but it still breaks displaying the ticket contents since the included rt.patch modifies the libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza in such a way the Mason bails out with an error. I would like to suggest to remove this patch or have it revised so that it will work. Since I do not completely understand what the patch should do, I was not able to come up with a real solution, maybe someone else can help out ...
The Error-Message from Mason:
----
Error during compilation of /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza:
"my" variable $stanza masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 63.
"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 64.
"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 65.
"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 66.
"my" variable $m masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 69.
"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 69.
"my" variable $m masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 69.
syntax error at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 62, near "elsif"
syntax error at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 71, near "}"
(Might be a runaway multi-line '' string starting on line 69)
Trace begun at /opt/ic3s/libexec/rt/HTML/Mason/Interp.pm line 580
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x96cf2c4
)', '/opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza', 'Error during compilation of :^J"my" variable $stanza masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 63.^J"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 64.^J"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 65.^J"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 66.^J"my" variable $m masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 69.^J"my" variable $content masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 69.^J"my" variable $m masks earlier declaration in same scope at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 69.^Jsyntax error at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 62, near "elsif"^Jsyntax error at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowMessageStanza line 71, near "}"^J (Might be a runaway multi-line \'\' string starting on line 69)^J^J^JStack:^J [/opt/ic3s/libexec/rt/HTML/Mason/Interp.pm:311]^J [/opt/ic3s/libexec/rt/HTML/Mason/Request.pm:892]^J [/opt/ic3s/libexec/rt/HTML/Mason/Request.pm:996]^J [/opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowTransactionAttachments
:118]^J [/opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowTransactionAttachments
:139]^J [/opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowTransaction:37]^J [/opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowHistory:84]^J [/opt/ic3s/libexec/rt/WebRT/html/Ticket/Display.html:39]^J [/opt/ic3s/libexec/rt/WebRT/html/autohandler:199]^J') called at /opt/ic3s/libexec/rt/HTML/Mason/Interp.pm line 317
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x96cf2c4)', '/Ticket/Elements/ShowMessageStanza') called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 892
HTML::Mason::Request::fetch_comp('HTML::Mason::Request::ApacheHandler=HASH(
0x9776674)', 'ShowMessageStanza') called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 996
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9776
674)', 'ShowMessageStanza', 'Depth', 0, 'Message', 'ARRAY(0x92b9300)', 'Transaction', 'RT::Transaction=HASH(0x998e448)') called at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowTransactionAttachments line 118
HTML::Mason::Commands::__ANON__('UpdatePath', '/Ticket/Update.html', 'RowNum', 1, 'Attachments', 'ARRAY(0x9989ef8)', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'AttachPath', '/Ticket/Attachment', 'AttachmentContent', 'HASH(0x998f3f8)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'ShowHeaders', undef, 'Collapsed', undef, 'Parent', 0, 'Tickets', undef, 'ShowTitleBarCommands', 1, 'Parent', 10850, 'ParentObj', 'RT::Attachment=HASH(0x9922590)') called at /opt/ic3s/libexec/rt/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99b5c
4c)', 'UpdatePath', '/Ticket/Update.html', 'RowNum', 1, 'Attachments', 'ARRAY(0x9989ef8)', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'AttachPath', '/Ticket/Attachment', 'AttachmentContent', 'HASH(0x998f3f8)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'ShowHeaders', undef, 'Collapsed', undef, 'Parent', 0, 'Tickets', undef, 'ShowTitleBarCommands', 1, 'Parent', 10850, 'ParentObj', 'RT::Attachment=HASH(0x9922590)') called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1074
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'UpdatePath', '/Ticket/Update.html', 'RowNum', 1, 'Attachments', 'ARRAY(0x9989ef8)', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'AttachPath', '/Ticket/Attachment', 'AttachmentContent', 'HASH(0x998f3f8)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'ShowHeaders', undef, 'Collapsed', undef, 'Parent', 0, 'Tickets', undef, 'ShowTitleBarCommands', 1, 'Parent', 10850, 'ParentObj', 'RT::Attachment=HASH(0x9922590)') called at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowTransactionAttachments line 139
HTML::Mason::Commands::__ANON__('RowNum', 1, 'UpdatePath', '/Ticket/Update.html', 'AttachPath', '/Ticket/Attachment', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Attachments', 'ARRAY(0x9989ef8)', 'AttachmentContent', 'HASH(0x998f3f8)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'Collapsed', undef, 'ShowHeaders', undef, 'Tickets', undef, 'ShowTitleBarCommands', 1, 'Parent', 0) called at /opt/ic3s/libexec/rt/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99b5c
4c)', 'RowNum', 1, 'UpdatePath', '/Ticket/Update.html', 'AttachPath', '/Ticket/Attachment', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Attachments', 'ARRAY(0x9989ef8)', 'AttachmentContent', 'HASH(0x998f3f8)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'Collapsed', undef, 'ShowHeaders', undef, 'Tickets', undef, 'ShowTitleBarCommands', 1, 'Parent', 0) called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1074
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'RowNum', 1, 'UpdatePath', '/Ticket/Update.html', 'AttachPath', '/Ticket/Attachment', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Attachments', 'ARRAY(0x9989ef8)', 'AttachmentContent', 'HASH(0x998f3f8)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'Collapsed', undef, 'ShowHeaders', undef, 'Tickets', undef, 'ShowTitleBarCommands', 1, 'Parent', 0) called at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowTransaction line 37
HTML::Mason::Commands::__ANON__('Attachments', 'RT::Attachments=HASH(0x987e390)', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'AttachmentContent', 'RT::Attachments=HASH(0x9880240)', 'ShowHeaders', undef, 'Collapsed', undef, 'Tickets', undef, 'AttachPath', '/Ticket/Attachment', 'UpdatePath', '/Ticket/Update.html', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'ShowHeaders', undef, 'Collapsed', undef, 'RowNum', 1, 'ShowTitleBarCommands', 1, 'Attachments', 'ARRAY(0x9989ef8)', 'AttachmentContent', 'HASH(0x998f3f8)') called at /opt/ic3s/libexec/rt/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99aad
84)', 'Attachments', 'RT::Attachments=HASH(0x987e390)', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'AttachmentContent', 'RT::Attachments=HASH(0x9880240)', 'ShowHeaders', undef, 'Collapsed', undef, 'Tickets', undef, 'AttachPath', '/Ticket/Attachment', 'UpdatePath', '/Ticket/Update.html', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'ShowHeaders', undef, 'Collapsed', undef, 'RowNum', 1, 'ShowTitleBarCommands', 1, 'Attachments', 'ARRAY(0x9989ef8)', 'AttachmentContent', 'HASH(0x998f3f8)') called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1074
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'Attachments', 'RT::Attachments=HASH(0x987e390)', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'AttachmentContent', 'RT::Attachments=HASH(0x9880240)', 'ShowHeaders', undef, 'Collapsed', undef, 'Tickets', undef, 'AttachPath', '/Ticket/Attachment', 'UpdatePath', '/Ticket/Update.html', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Transaction', 'RT::Transaction=HASH(0x998e448)', 'ShowHeaders', undef, 'Collapsed', undef, 'RowNum', 1, 'ShowTitleBarCommands', 1, 'Attachments', 'ARRAY(0x9989ef8)', 'AttachmentContent', 'HASH(0x998f3f8)') called at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Elements/ShowHistory line 84
HTML::Mason::Commands::__ANON__('Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Tickets', undef, 'Collapsed', undef, 'ShowHeaders', undef, 'Attachments', 'RT::Attachments=HASH(0x987e390)', 'AttachmentContent', 'RT::Attachments=HASH(0x9880240)') called at /opt/ic3s/libexec/rt/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x998e2
68)', 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Tickets', undef, 'Collapsed', undef, 'ShowHeaders', undef, 'Attachments', 'RT::Attachments=HASH(0x987e390)', 'AttachmentContent', 'RT::Attachments=HASH(0x9880240)') called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1074
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'Ticket', 'RT::Ticket=HASH(0x9871ca0)', 'Tickets', undef, 'Collapsed', undef, 'ShowHeaders', undef, 'Attachments', 'RT::Attachments=HASH(0x987e390)', 'AttachmentContent', 'RT::Attachments=HASH(0x9880240)') called at /opt/ic3s/libexec/rt/WebRT/html/Ticket/Display.html line 39
HTML::Mason::Commands::__ANON__('id', 1622, 'id', 1622) called at /opt/ic3s/libexec/rt/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x97e04
e0)', 'id', 1622, 'id', 1622) called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1074
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'id', 1622, 'id', 1622) called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0
x9776674)', 'id', 1622) called at /opt/ic3s/libexec/rt/WebRT/html/autohandler line 199
HTML::Mason::Commands::__ANON__('id', 1622) called at /opt/ic3s/libexec/rt/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x97ed1
20)', 'id', 1622) called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1069
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'id', 1622) called at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 338
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 338
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9776
674)') called at /opt/ic3s/libexec/rt/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /opt/ic3s/libexec/rt/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHand
ler=HASH(0x9776674)') called at /opt/ic3s/libexec/rt/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH
(0x96cc194)', 'Apache=SCALAR(0x96cbedc)') called at /opt/ic3s/cgi/rt/webmux.pl line 105
eval {...} at /opt/ic3s/cgi/rt/webmux.pl line 105
RT::Mason::handler('Apache=SCALAR(0x96cbedc)') called at /dev/null line 0
eval {...} at /dev/null line 0
cheerio Steve
-- Steh auf wenn Du am Boden bist! Steh auf auch wenn Du unten liegst ! Steh auf, es wird schon irgendwie weitergeh'n. -- DtH, 2002
______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
