[rt-users] Bulk [merge into] fails for 3.2.2
Jesse Vincent
jesse at bestpractical.com
Tue Nov 16 12:09:05 EST 2004
This has been taken care of for 3.2.3 already.
On Nov 16, 2004, at 7:54 AM, Jure Simsic wrote:
> I'm trying to merge a couple of tickets into one and get an error:
>
>> error: Can't call method "Name" without a package or object
>> reference at /usr/local/rt3/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: /usr/local/rt3/lib/RT/Interface/Web.pm:1173
>> /usr/local/rt3/share/html/Search/Bulk.html:270
>> /usr/local/rt3/share/html/autohandler:221
>
> (I have one custom field on the queue, all tickets are from this queue)
>
> I've tried to bulk-change owner and that went ok, i tried to merge
> only one, that was ok as well. It turns out it does merge the first
> one, but fails right after that I suppose.
>
> Anybody any clues?
> Thanx
>
>
> Jure
>
> p.s.And the raw error goes as such:
>> Can't call method "Name" without a package or object reference at
>> /usr/local/rt3/lib/RT/Interface/Web.pm line 1173.
>> Trace begun at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line
>> 131
>> HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Name"
>> without a package or object reference at
>> /usr/local/rt3/lib/RT/Interface/Web.pm line 1173.^J') called at
>> /usr/local/rt3/lib/RT/Interface/Web.pm line 1173
>> HTML::Mason::Commands::ProcessTicketCustomFieldUpdates('ARGSRef',
>> 'HASH(0x14bc91c)') called at
>> /usr/local/rt3/share/html/Search/Bulk.html line 270
>> HTML::Mason::Commands::__ANON__('MemberOf-Ticket', '', 'Starts_Date',
>> '', 'UpdateTicket1648', 'on', 'Rows', 50, 'Status', '',
>> 'UpdateTicket1645', 'on', 'UpdateAttachment', '', 'Started_Date', '',
>> 'Format', '', 'UpdateType', 'private', 'RefersTo-Ticket', '',
>> 'UpdateTicket1700', 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on',
>> 'Subject', '', '31-Values-Magic', 1, 'Ticket-RefersTo', '',
>> '31-Values', '', 'UpdateTicket1712', 'on', 'Owner', '', 'Query',
>> 'Subject LIKE \'24 ur\' AND (Status = \'new\' OR Status = \'open\')',
>> 'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket',
>> '', 'Priority', '', 'AddCc', '', 'DeleteRequestor', '', 'Queue', '',
>> 'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1688', 'on',
>> 'UpdateTicket1693', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
>> 'UpdateTicket1678', 'on', 'AddRequestor', '', 'UpdateTicket1714',
>> 'on', 'UpdateTicket1703', 'on', 'Ticket-MergeInto', 958,
>> 'UpdateSubject', '', 'UpdateTicket1722', 'on', 'UpdateTicket1711',
>> 'on
> ', 'AddAdminCc', '', 'DeleteAdminCc', '', 'UpdateTicket1677', 'on',
> 'UpdateContent', '', 'UpdateTicket1672', 'on', 'Resolved_Date', '',
> 'UpdateTicket1665', 'on', 'OrderBy', 'id', 'UpdateTicket1676', 'on',
> 'MemberOf-Ticket', '', 'Starts_Date', '', 'UpdateTicket1648', 'on',
> 'Rows', 50, 'Status', '', 'UpdateTicket1645', 'on',
> 'UpdateAttachment', '', 'Started_Date', '', 'Format', '',
> 'UpdateType', 'private', 'RefersTo-Ticket', '', 'UpdateTicket1700',
> 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on', 'Subject', '',
> '31-Values-Magic', 1, 'Ticket-RefersTo', '', '31-Values', '',
> 'UpdateTicket1712', 'on', 'Owner', '', 'Query', 'Subject LIKE \'24
> ur\' AND (Status = \'new\' OR Status = \'open\')', 'Ticket-MemberOf',
> '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '', 'Priority', '',
> 'AddCc', '', 'DeleteRequestor', '', 'Queue', '', 'Due_Date', '',
> 'Page', 1, 'Order', 'ASC', 'UpdateTicket1693', 'on',
> 'UpdateTicket1688', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
> 'UpdateTicket1678', 'o
> n', 'AddRequestor', '', 'UpdateTicket1714', 'on', 'UpdateTicket1703',
> 'on', 'Ticket-MergeInto', 958, 'UpdateSubject', '',
> 'UpdateTicket1722', 'on', 'UpdateTicket1711', 'on', 'AddAdminCc', '',
> 'DeleteAdminCc', '', 'UpdateTicket1677', 'on', 'UpdateContent', '',
> 'UpdateTicket1672', 'on', 'Resolved_Date', '', 'UpdateTicket1665',
> 'on', 'OrderBy', 'id', 'UpdateTicket1676', 'on') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
>> HTML::Mason::Component::run('HTML::Mason::Component::
>> FileBased=HASH(0x1594da4)', 'MemberOf-Ticket', '', 'Starts_Date', '',
>> 'UpdateTicket1648', 'on', 'Rows', 50, 'Status', '',
>> 'UpdateTicket1645', 'on', 'UpdateAttachment', '', 'Started_Date', '',
>> 'Format', '', 'UpdateType', 'private', 'RefersTo-Ticket', '',
>> 'UpdateTicket1700', 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on',
>> 'Subject', '', '31-Values-Magic', 1, 'Ticket-RefersTo', '',
>> '31-Values', '', 'UpdateTicket1712', 'on', 'Owner', '', 'Query',
>> 'Subject LIKE \'24 ur\' AND (Status = \'new\' OR Status = \'open\')',
>> 'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket',
>> '', 'Priority', '', 'AddCc', '', 'DeleteRequestor', '', 'Queue', '',
>> 'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1688', 'on',
>> 'UpdateTicket1693', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
>> 'UpdateTicket1678', 'on', 'AddRequestor', '', 'UpdateTicket1714',
>> 'on', 'UpdateTicket1703', 'on', 'Ticket-MergeInto', 958,
>> 'UpdateSubject', '',
> 'UpdateTicket1722', 'on', 'UpdateTicket1711', 'on', 'AddAdminCc', '',
> 'DeleteAdminCc', '', 'UpdateTicket1677', 'on', 'UpdateContent', '',
> 'UpdateTicket1672', 'on', 'Resolved_Date', '', 'UpdateTicket1665',
> 'on', 'OrderBy', 'id', 'UpdateTicket1676', 'on', 'MemberOf-Ticket',
> '', 'Starts_Date', '', 'UpdateTicket1648', 'on', 'Rows', 50, 'Status',
> '', 'UpdateTicket1645', 'on', 'UpdateAttachment', '', 'Started_Date',
> '', 'Format', '', 'UpdateType', 'private', 'RefersTo-Ticket', '',
> 'UpdateTicket1700', 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on',
> 'Subject', '', '31-Values-Magic', 1, 'Ticket-RefersTo', '',
> '31-Values', '', 'UpdateTicket1712', 'on', 'Owner', '', 'Query',
> 'Subject LIKE \'24 ur\' AND (Status = \'new\' OR Status = \'open\')',
> 'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket',
> '', 'Priority', '', 'AddCc', '', 'DeleteRequestor', '', 'Queue', '',
> 'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1693', 'on',
> 'UpdateTicket1688', 'on', 'Ticket-Depend
> sOn', '', 'Told_Date', '', 'UpdateTicket1678', 'on', 'AddRequestor',
> '', 'UpdateTicket1714', 'on', 'UpdateTicket1703', 'on',
> 'Ticket-MergeInto', 958, 'UpdateSubject', '', 'UpdateTicket1722',
> 'on', 'UpdateTicket1711', 'on', 'AddAdminCc', '', 'DeleteAdminCc', '',
> 'UpdateTicket1677', 'on', 'UpdateContent', '', 'UpdateTicket1672',
> 'on', 'Resolved_Date', '', 'UpdateTicket1665', 'on', 'OrderBy', 'id',
> 'UpdateTicket1676', 'on') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1074
>> eval {...} at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
>> HTML::Mason::Request::comp(undef, undef, 'MemberOf-Ticket', '',
>> 'Starts_Date', '', 'UpdateTicket1648', 'on', 'Rows', 50, 'Status',
>> '', 'UpdateTicket1645', 'on', 'UpdateAttachment', '', 'Started_Date',
>> '', 'Format', '', 'UpdateType', 'private', 'RefersTo-Ticket', '',
>> 'UpdateTicket1700', 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on',
>> 'Subject', '', '31-Values-Magic', 1, 'Ticket-RefersTo', '',
>> '31-Values', '', 'UpdateTicket1712', 'on', 'Owner', '', 'Query',
>> 'Subject LIKE \'24 ur\' AND (Status = \'new\' OR Status = \'open\')',
>> 'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket',
>> '', 'Priority', '', 'AddCc', '', 'DeleteRequestor', '', 'Queue', '',
>> 'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1688', 'on',
>> 'UpdateTicket1693', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
>> 'UpdateTicket1678', 'on', 'AddRequestor', '', 'UpdateTicket1714',
>> 'on', 'UpdateTicket1703', 'on', 'Ticket-MergeInto', 958,
>> 'UpdateSubject', '', 'UpdateTicket1722', 'on', 'UpdateTicket1
> 711', 'on', 'AddAdminCc', '', 'DeleteAdminCc', '', 'UpdateTicket1677',
> 'on', 'UpdateContent', '', 'UpdateTicket1672', 'on', 'Resolved_Date',
> '', 'UpdateTicket1665', 'on', 'OrderBy', 'id', 'UpdateTicket1676',
> 'on', 'MemberOf-Ticket', '', 'Starts_Date', '', 'UpdateTicket1648',
> 'on', 'Rows', 50, 'Status', '', 'UpdateTicket1645', 'on',
> 'UpdateAttachment', '', 'Started_Date', '', 'Format', '',
> 'UpdateType', 'private', 'RefersTo-Ticket', '', 'UpdateTicket1700',
> 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on', 'Subject', '',
> '31-Values-Magic', 1, 'Ticket-RefersTo', '', '31-Values', '',
> 'UpdateTicket1712', 'on', 'Owner', '', 'Query', 'Subject LIKE \'24
> ur\' AND (Status = \'new\' OR Status = \'open\')', 'Ticket-MemberOf',
> '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket', '', 'Priority', '',
> 'AddCc', '', 'DeleteRequestor', '', 'Queue', '', 'Due_Date', '',
> 'Page', 1, 'Order', 'ASC', 'UpdateTicket1693', 'on',
> 'UpdateTicket1688', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
> 'UpdateTicket
> 1678', 'on', 'AddRequestor', '', 'UpdateTicket1714', 'on',
> 'UpdateTicket1703', 'on', 'Ticket-MergeInto', 958, 'UpdateSubject',
> '', 'UpdateTicket1722', 'on', 'UpdateTicket1711', 'on', 'AddAdminCc',
> '', 'DeleteAdminCc', '', 'UpdateTicket1677', 'on', 'UpdateContent',
> '', 'UpdateTicket1672', 'on', 'Resolved_Date', '', 'UpdateTicket1665',
> 'on', 'OrderBy', 'id', 'UpdateTicket1676', 'on') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 760
>> HTML::Mason::Request::call_next('HTML::Mason::Request::
>> ApacheHandler=HASH(0x1559ed4)', 'MemberOf-Ticket', '', 'Starts_Date',
>> '', 'UpdateTicket1648', 'on', 'Rows', 50, 'Status', '',
>> 'UpdateTicket1645', 'on', 'UpdateAttachment', '', 'Started_Date', '',
>> 'Format', '', 'UpdateType', 'private', 'RefersTo-Ticket', '',
>> 'UpdateTicket1700', 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on',
>> 'Subject', '', '31-Values-Magic', 1, 'Ticket-RefersTo', '',
>> '31-Values', '', 'UpdateTicket1712', 'on', 'Owner', '', 'Query',
>> 'Subject LIKE \'24 ur\' AND (Status = \'new\' OR Status = \'open\')',
>> 'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket',
>> '', 'Priority', '', 'AddCc', '', 'DeleteRequestor', '', 'Queue', '',
>> 'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1693', 'on',
>> 'UpdateTicket1688', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
>> 'UpdateTicket1678', 'on', 'AddRequestor', '', 'UpdateTicket1714',
>> 'on', 'UpdateTicket1703', 'on', 'Ticket-MergeInto', 958,
>> 'UpdateSubject'
> , '', 'UpdateTicket1722', 'on', 'UpdateTicket1711', 'on',
> 'AddAdminCc', '', 'DeleteAdminCc', '', 'UpdateTicket1677', 'on',
> 'UpdateContent', '', 'UpdateTicket1672', 'on', 'Resolved_Date', '',
> 'UpdateTicket1665', 'on', 'OrderBy', 'id', 'UpdateTicket1676', 'on')
> called at /usr/local/rt3/share/html/autohandler line 221
>> HTML::Mason::Commands::__ANON__('MemberOf-Ticket', '', 'Starts_Date',
>> '', 'UpdateTicket1648', 'on', 'Rows', 50, 'Status', '',
>> 'UpdateTicket1645', 'on', 'UpdateAttachment', '', 'Started_Date', '',
>> 'Format', '', 'UpdateType', 'private', 'RefersTo-Ticket', '',
>> 'UpdateTicket1700', 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on',
>> 'Subject', '', '31-Values-Magic', 1, 'Ticket-RefersTo', '',
>> '31-Values', '', 'UpdateTicket1712', 'on', 'Owner', '', 'Query',
>> 'Subject LIKE \'24 ur\' AND (Status = \'new\' OR Status = \'open\')',
>> 'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket',
>> '', 'Priority', '', 'AddCc', '', 'DeleteRequestor', '', 'Queue', '',
>> 'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1688', 'on',
>> 'UpdateTicket1693', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
>> 'UpdateTicket1678', 'on', 'AddRequestor', '', 'UpdateTicket1714',
>> 'on', 'UpdateTicket1703', 'on', 'Ticket-MergeInto', 958,
>> 'UpdateSubject', '', 'UpdateTicket1722', 'on', 'UpdateTicket1711',
>> 'on
> ', 'AddAdminCc', '', 'DeleteAdminCc', '', 'UpdateTicket1677', 'on',
> 'UpdateContent', '', 'UpdateTicket1672', 'on', 'Resolved_Date', '',
> 'UpdateTicket1665', 'on', 'OrderBy', 'id', 'UpdateTicket1676', 'on')
> called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm
> line 134
>> HTML::Mason::Component::run('HTML::Mason::Component::
>> FileBased=HASH(0x15a3c68)', 'MemberOf-Ticket', '', 'Starts_Date', '',
>> 'UpdateTicket1648', 'on', 'Rows', 50, 'Status', '',
>> 'UpdateTicket1645', 'on', 'UpdateAttachment', '', 'Started_Date', '',
>> 'Format', '', 'UpdateType', 'private', 'RefersTo-Ticket', '',
>> 'UpdateTicket1700', 'on', 'DeleteCc', '', 'UpdateTicket1663', 'on',
>> 'Subject', '', '31-Values-Magic', 1, 'Ticket-RefersTo', '',
>> '31-Values', '', 'UpdateTicket1712', 'on', 'Owner', '', 'Query',
>> 'Subject LIKE \'24 ur\' AND (Status = \'new\' OR Status = \'open\')',
>> 'Ticket-MemberOf', '', 'UpdateTicket1646', 'on', 'DependsOn-Ticket',
>> '', 'Priority', '', 'AddCc', '', 'DeleteRequestor', '', 'Queue', '',
>> 'Due_Date', '', 'Page', 1, 'Order', 'ASC', 'UpdateTicket1688', 'on',
>> 'UpdateTicket1693', 'on', 'Ticket-DependsOn', '', 'Told_Date', '',
>> 'UpdateTicket1678', 'on', 'AddRequestor', '', 'UpdateTicket1714',
>> 'on', 'UpdateTicket1703', 'on', 'Ticket-MergeInto', 958,
>> 'UpdateSubject', '',
> 'UpdateTicket1722', 'on', 'UpdateTicket1711', 'on', 'AddAdminCc', '',
> 'DeleteAdminCc', '', 'UpdateTicket1677', 'on', 'UpdateContent', '',
> 'UpdateTicket1672', 'on', 'Resolved_Date', '', 'UpdateTicket1665',
> 'on', 'OrderBy', 'id', 'UpdateTicket1676', 'on') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1069
>> eval {...} at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
>> HTML::Mason::Request::comp(undef, undef, undef, 'MemberOf-Ticket',
>> '', 'Starts_Date', '', 'UpdateTicket1648', 'on', 'Rows', 50,
>> 'Status', '', 'UpdateTicket1645', 'on', 'UpdateAttachment', '',
>> 'Started_Date', '', 'Format', '', 'UpdateType', 'private',
>> 'RefersTo-Ticket', '', 'UpdateTicket1700', 'on', 'DeleteCc', '',
>> 'UpdateTicket1663', 'on', 'Subject', '', '31-Values-Magic', 1,
>> 'Ticket-RefersTo', '', '31-Values', '', 'UpdateTicket1712', 'on',
>> 'Owner', '', 'Query', 'Subject LIKE \'24 ur\' AND (Status = \'new\'
>> OR Status = \'open\')', 'Ticket-MemberOf', '', 'UpdateTicket1646',
>> 'on', 'DependsOn-Ticket', '', 'Priority', '', 'AddCc', '',
>> 'DeleteRequestor', '', 'Queue', '', 'Due_Date', '', 'Page', 1,
>> 'Order', 'ASC', 'UpdateTicket1688', 'on', 'UpdateTicket1693', 'on',
>> 'Ticket-DependsOn', '', 'Told_Date', '', 'UpdateTicket1678', 'on',
>> 'AddRequestor', '', 'UpdateTicket1714', 'on', 'UpdateTicket1703',
>> 'on', 'Ticket-MergeInto', 958, 'UpdateSubject', '',
>> 'UpdateTicket1722', 'on', 'Update
> Ticket1711', 'on', 'AddAdminCc', '', 'DeleteAdminCc', '',
> 'UpdateTicket1677', 'on', 'UpdateContent', '', 'UpdateTicket1672',
> 'on', 'Resolved_Date', '', 'UpdateTicket1665', 'on', 'OrderBy', 'id',
> 'UpdateTicket1676', 'on') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
>> eval {...} at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
>> eval {...} at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 297
>> HTML::Mason::Request::exec('HTML::Mason::Request::
>> ApacheHandler=HASH(0x1559ed4)') called at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
>> 134
>> eval {...} at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
>> 134
>> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::
>> ApacheHandler=HASH(0x1559ed4)') called at
>> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
>> 792
>> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::
>> ApacheHandler=HASH(0xb8728c)', 'Apache=SCALAR(0x1456628)') called at
>> /usr/local/rt3/bin/webmux.pl line 126
>> eval {...} at /usr/local/rt3/bin/webmux.pl line 126
>> RT::Mason::handler('Apache=SCALAR(0x1456628)') called at /dev/null
>> line 0
>> eval {...} at /dev/null line 0
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>
More information about the rt-users
mailing list