Roundup Tracker - Issues

Issue 700620

classification
can't search for unset fields
Type: Severity: normal
Components: Command-line interface Versions:
process
Status: closed fixed
:
: richard : richard, rouilj
Priority: normal :

Created on 2003-03-10 03:42 by rouilj, last changed 2003-03-10 03:42 by rouilj.

Messages
msg712 Author: [hidden] (rouilj) Date: 2003-03-10 03:42
I am trying to find the issues in my tracker
that do not have the 
priority field set.

I have tried:

   find issue 
priority=
got
Traceback (most recent call last):
  File 
"/usr/lib/python2.2/site-packages/roundup/admin.py", line 
1232, in run_command
    ret = function(args[1:])
  File 
"/usr/lib/python2.2/site-packages/roundup/admin.py", line 
589, in do_find
    if not num_re.match(value):
TypeError: 
expected string or buffer

   find issue priority=-
1
got
Traceback (most recent call last):
  File 
"/usr/lib/python2.2/site-packages/roundup/admin.py", line 
1232, in run_command
    ret = function(args[1:])
  File 
"/usr/lib/python2.2/site-packages/roundup/admin.py", line 
605, in do_find
    props[propname] = 
link_class.lookup(value)
  File "/usr/lib/python2.2/site-
packages/roundup/backends/back_anydbm.py", line 1431, in 
lookup
    raise KeyError, 'No key (%s) value "%s" for 
"%s"'%(self.key,
KeyError: No key (name) value "-1" for 
"priority"

and
   find issue 
priority=None
got
Traceback (most recent call last):
  
File "/usr/lib/python2.2/site-packages/roundup/admin.py", line 
1232, in run_command
    ret = function(args[1:])
  File 
"/usr/lib/python2.2/site-packages/roundup/admin.py", line 
605, in do_find
    props[propname] = 
link_class.lookup(value)
  File "/usr/lib/python2.2/site-
packages/roundup/backends/back_anydbm.py", line 1431, in 
lookup
    raise KeyError, 'No key (%s) value "%s" for 
"%s"'%(self.key,
KeyError: No key (name) value "None" for 
"priority"

any other ideas?

I can write the code to 
step through all items, but
it really should be supported in the 
cli.

-- rouilj
History
Date User Action Args
2003-03-10 03:42:07rouiljcreate