[rt-users] Bug in Query Builder??
Adrian Carter
cartera at lei.net.au
Tue Jun 21 02:13:28 EDT 2005
I've discovered an error when using Query Builder. I can also reproduce
it (on two of my RT installs)
Got to "Tickets" on the LHS of RT
If I then type something into any of the add criteria fields before
selecting all of the contents of the Query window (the standard 'new
ticket search' to delete it then i get this:
If I try and delete just the bottom two entries (the AND Status = 'new'
AND Owner = 'Nobody') it works fine. If I try and delete ALL the
contents of the query window (Queue = "XXX" AND Status = 'new' AND Owner
= 'Nobody') it the reports the following error:
*System error*
*error:* Can't locate object method "removeChild" via package "root"
(perhaps you forgot to load "root"?) at
/opt/rt3/share/html/Search/Build.html line 432.
*context:*
*...*
*428:* }
*429:* }
*430:* elsif ( $ARGS{"DeleteClause"} ) {
*431:* if (@current_values) {
*432:* $_->getParent()->removeChild($_) for @current_values;
*433:* }
*434:* else {
*435:* push( @actions, [ loc("error: nothing to delete"), -1 ] );
*436:* }
*...*
*code stack:* /opt/rt3/share/html/Search/Build.html:432
/opt/rt3/share/html/autohandler:215
If I just try and delete everything in the Query window with nothing in
any of the "Add Criteria" fields, its works fine.
Any ideas??
--
Adrian Carter
Technical Manager
Leading Edge Internet
Web http://www.lei.net.au http://support.lei.net.au
Direct +61 2 6163 6162 Support 1 300 662 415
E-mail cartera at lei.net.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050621/f242dd9e/attachment.htm>
More information about the rt-users
mailing list