BUG in Build.html RT3.4.1

Hello all,

I am running into a problem when setting up a query and deleting some of the
clauses.

If i click on the Quicksearch Elements i get the following clause:

  1. Queue = xxxx
  2. AND
  3. Status = ‘open’
  4. OR Status = ‘new’

Within the searchbuilder i try to delete the Line 4, Line 3, i cannot delete
the BOOLEAN AND in Line 2 without problems:

error: Can’t call method “getParent” on an undefined value
at /usr/local/share/request-tracker3.4/html/mySoIS/Search/Build.html
line 432, line 177.

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: /usr/share/request-tracker3.4/html/Search/Build.html:432
/usr/share/request-tracker3.4/html/autohandler:215

Georg Glas

Already fixed for 3.4.3. (Try the prerelease?)On Wed, Jun 15, 2005 at 10:51:40AM +0200, Georg Glas wrote:

Hello all,

I am running into a problem when setting up a query and deleting some of the
clauses.

If i click on the Quicksearch Elements i get the following clause:

  1. Queue = xxxx
  2. AND
  3. Status = ‘open’
  4. OR Status = ‘new’

Within the searchbuilder i try to delete the Line 4, Line 3, i cannot delete
the BOOLEAN AND in Line 2 without problems:

error: Can’t call method “getParent” on an undefined value
at /usr/local/share/request-tracker3.4/html/mySoIS/Search/Build.html
line 432, line 177.

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: /usr/share/request-tracker3.4/html/Search/Build.html:432
/usr/share/request-tracker3.4/html/autohandler:215


Georg Glas


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com