<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=792511706-21062005><FONT face=Arial
color=#0000ff size=2>yeh, that has happened to me from time to time.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=792511706-21062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=792511706-21062005><FONT face=Arial
color=#0000ff size=2>i just delete everything and start over. i beleive it only
happens when you are deleteing the last thing and adding at the same
time.</FONT></SPAN></DIV>
<DIV> </DIV>
<P class=MsoNormal align=left><STRONG><B><FONT face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">Andrew
Xenides<BR></SPAN></FONT></B></STRONG><STRONG><B><FONT face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">System
Administrator<BR></SPAN></FONT></B></STRONG><STRONG><B><FONT face=Arial
color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">EscapeNet
<BR></SPAN></FONT></B></STRONG><?xml:namespace prefix = st1 ns =
"urn:schemas-microsoft-com:office:smarttags" /><st1:Street><st1:address
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"><STRONG><B><FONT
face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">465
South
Road<BR></SPAN></FONT></B></STRONG></st1:address></st1:Street><STRONG><B><FONT
face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">Keswick
SA 5035<BR></SPAN></FONT></B></STRONG><STRONG><B><FONT face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">T:
(08) 8292 5200<BR></SPAN></FONT></B></STRONG><STRONG><B><FONT face=Arial
color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">F:
(08) 8292 5299<BR></SPAN></FONT></B></STRONG><STRONG><B><FONT face=Arial
color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">E:
<A
href="mailto:andrew@staff.esc.net.au">andrew@staff.esc.net.au</A><BR></SPAN></FONT></B></STRONG><STRONG><B><FONT
face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial; mso-no-proof: yes">W:
http://www.esc.net.au</SPAN></FONT></B></STRONG></P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <B>On Behalf Of </B>Adrian
Carter<BR><B>Sent:</B> Tuesday, 21 June 2005 3:43 PM<BR><B>To:</B>
rt-users@lists.bestpractical.com<BR><B>Subject:</B> [rt-users] Bug in Query
Builder??<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>I've discovered an error when using Query Builder. I can also reproduce
it (on two of my RT installs)<BR> </DIV>
<DIV><FONT face=Arial size=2>Got to "Tickets" on the LHS of
RT<BR></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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:<BR><BR>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:<BR></FONT></DIV>
<DIV> </DIV>
<DIV>
<P align=center><FONT face="Verdana, Arial, Helvetica, sans-serif"><B>System
error</B></FONT></P>
<TABLE cellSpacing=0 cellPadding=1 border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>error:</B> </FONT></TD>
<TD vAlign=top align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>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.<BR></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>context:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>...</B> </FONT></TD>
<TD vAlign=top noWrap align=left><BR></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>428:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2>}</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>429:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2>}</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>430:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>elsif (
$ARGS{"DeleteClause"} ) {</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>431:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>if
(@current_values) {</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>432:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2><FONT
color=red>$_->getParent()->removeChild($_) for
@current_values;</FONT></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>433:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2>}</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>434:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>else
{</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>435:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>push(
@actions, [ loc("error: nothing to delete"), -1 ] );</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>436:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2>}</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>...</B> </FONT></TD>
<TD vAlign=top noWrap
align=left><BR></TD></TR></TBODY></TABLE></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2><B>code
stack:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2>/opt/rt3/share/html/Search/Build.html:432<BR>/opt/rt3/share/html/autohandler:215<BR></FONT></TD></TR></TBODY></TABLE></DIV><BR>If
I just try and delete everything in the Query window with nothing in any of
the "Add Criteria" fields, its works fine.<BR><BR>Any ideas??<BR><BR><BR><BR><PRE class=moz-signature cols="72">--
Adrian Carter
Technical Manager
Leading Edge Internet
Web <A class=moz-txt-link-freetext href="http://www.lei.net.au">http://www.lei.net.au</A> <A class=moz-txt-link-freetext href="http://support.lei.net.au">http://support.lei.net.au</A>
Direct +61 2 6163 6162 Support 1 300 662 415
E-mail <A class=moz-txt-link-abbreviated href="mailto:cartera@lei.net.au">cartera@lei.net.au</A>
</PRE></BLOCKQUOTE></BODY></HTML>