Roundup Tracker - Issues

Message2182

Author dlinke
Recipients
Date 2006-02-28.22:41:38
Message-id
In-reply-to
Logged In: YES 
user_id=734219

This problem can be reproduced also in the demo tracker if
you try to create more than on query. Below is a patch that
fixes the problem (verified for demo-tracker).

Index: roundup/cgi/actions.py
===================================================================
RCS file: /cvsroot/roundup/roundup/roundup/cgi/actions.py,v
retrieving revision 1.58
diff -u -r1.58 actions.py
--- roundup/cgi/actions.py	8 Feb 2006 04:03:54 -0000	1.58
+++ roundup/cgi/actions.py	28 Feb 2006 22:34:22 -0000
@@ -192,7 +192,7 @@
                     qids = self.db.query.filter(None,
{'name': old_queryname,
                         'creator': uid})
 
-                if qids:
+                if qids and old_queryname:
                     # edit query - make sure we get an
exact match on the name
                     for qid in qids:
                         if old_queryname !=
self.db.query.get(qid, 'name'):


Unfortunately sf does not let me append a file :-/ I hope it
is still usable.

Regards,
David
History
Date User Action Args
2009-02-03 14:21:40adminlinkissue1436169 messages
2009-02-03 14:21:40admincreate