[rt-users] Error updating multiple tickets
Peter Nikolaidis
xy at nikolaidis.com
Thu Nov 18 16:19:55 EST 2004
Greetings,
While trying to update multiple tickets, linking them all into another
ticket, I get the error below.
Is this a bug, or do we have something misconfigured?
I am able to update them individually, but when I try to select 4 of
them, I get the following:
System error
error: Can't call method "Name" without a package or object reference
at /home/rt/rt//lib/RT/Interface/Web.pm line 1173.
context:
...
1169: push ( @results, $msg );
1170: }
1171: }
1172: else {
1173: push ( @results, "User asked for an unknown update type for
custom field " . $cf->Name . " for ticket " . $Ticket->id );
1174: }
1175: }
1176: }
1177: return (@results);
...
code stack: /home/rt/rt//lib/RT/Interface/Web.pm:1173
/home/rt/rt/share/html/Search/Bulk.html:270
/home/rt/rt/share/html/autohandler:221
raw error
Can't call method "Name" without a package or object reference at
/home/rt/rt//lib/RT/Interface/Web.pm line 1173.
Trace begun at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Name"
without a package or object reference at
/home/rt/rt//lib/RT/Interface/Web.pm line 1173.^J') called at
/home/rt/rt//lib/RT/Interface/Web.pm line 1173
HTML::Mason::Commands::ProcessTicketCustomFieldUpdates('ARGSRef',
'HASH(0xb2aadac)') called at /home/rt/rt/share/html/Search/Bulk.html
line 270
HTML::Mason::Commands::__ANON__('MemberOf-Ticket', '', 'Starts_Date',
'', 'Rows', 0, 'Status', '', 'UpdateAttachment', '', 'Started_Date', '',
'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on', 'MemberOf-Ticket', '', 'Starts_Date', '',
'Rows', 0, 'Status', '', 'UpdateAttachment', '', 'Started_Date', '',
'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on') called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb0074ac)',
'MemberOf-Ticket', '', 'Starts_Date', '', 'Rows', 0, 'Status', '',
'UpdateAttachment', '', 'Started_Date', '', 'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on', 'MemberOf-Ticket', '', 'Starts_Date', '',
'Rows', 0, 'Status', '', 'UpdateAttachment', '', 'Started_Date', '',
'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on') called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {...} at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'MemberOf-Ticket', '',
'Starts_Date', '', 'Rows', 0, 'Status', '', 'UpdateAttachment', '',
'Started_Date', '', 'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on', 'MemberOf-Ticket', '', 'Starts_Date', '',
'Rows', 0, 'Status', '', 'UpdateAttachment', '', 'Started_Date', '',
'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on') called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xb646054)',
'MemberOf-Ticket', '', 'Starts_Date', '', 'Rows', 0, 'Status', '',
'UpdateAttachment', '', 'Started_Date', '', 'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on') called at /home/rt/rt/share/html/autohandler
line 221
HTML::Mason::Commands::__ANON__('MemberOf-Ticket', '', 'Starts_Date',
'', 'Rows', 0, 'Status', '', 'UpdateAttachment', '', 'Started_Date', '',
'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on') called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9440288)',
'MemberOf-Ticket', '', 'Starts_Date', '', 'Rows', 0, 'Status', '',
'UpdateAttachment', '', 'Started_Date', '', 'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on') called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {...} at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'MemberOf-Ticket', '',
'Starts_Date', '', 'Rows', 0, 'Status', '', 'UpdateAttachment', '',
'Started_Date', '', 'Format', '\' <b><a
href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
^J\'<b><a
href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
^J\'__Status__\', ^J\'__QueueName__\', ^J\'__OwnerName__\',
^J\'__Priority__\', ^J\'__NEWLINE__\', ^J\'\',
^J\'<small>__Requestors__</small>\',
^J\'<small>__CreatedRelative__</small>\',
^J\'<small>__ToldRelative__</small>\',
^J\'<small>__LastUpdatedRelative__</small>\',
^J\'<small>__TimeLeft__</small>\'', 'UpdateType', 'private',
'UpdateTicket1639', 'on', 'RefersTo-Ticket', '', 'DeleteCc', '',
'Subject', '', 'UpdateTicket1670', 'on', 'Ticket-RefersTo', '', 'Owner',
'', 'Query', ' Requestor.EmailAddress LIKE \'tvesper\' ',
'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '',
'Priority', '', 'UpdateTicket1647', 'on', 'AddCc', '',
'DeleteRequestor', '', 'UpdateTicket1657', 'on', 'Queue', '',
'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1654', 'on',
'Told_Date', '', 'Ticket-DependsOn', '', 'AddRequestor', '',
'UpdateSubject', '', 'Ticket-MergeInto', 654, 'UpdateTicket1652', 'on',
'AddAdminCc', '', 'UpdateTicket1649', 'on', 'DeleteAdminCc', '',
'UpdateContent', '', 'Resolved_Date', '', 'OrderBy', 'id',
'UpdateTicket1653', 'on') called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {...} at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {...} at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb646054)')
called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
eval {...} at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb646054)')
called at
/home/rt/local-perl/lib/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x93408d8)',
'Apache=SCALAR(0xb6e20b4)') called at /home/rt/rt/bin/webmux.pl line 126
eval {...} at /home/rt/rt/bin/webmux.pl line 126
RT::Mason::handler('Apache=SCALAR(0xb6e20b4)') called at /dev/null line 0
eval {...} at /dev/null line 0
More information about the rt-users
mailing list