Roundup Tracker - Issues

Message434

Author ber
Recipients
Date 2002-10-10.11:15:32
Message-id
In-reply-to
statusauditor.py does not set the status to unread when
the issue is created using the standard classic
webform. Because the status key si available, it is
just not set. Thus the code should read like:

 def presetunread(db, cl, nodeid, newvalues):
     ''' Make sure the status is set on new issues
     '''
-    if newvalues.has_key('status'):
+        
+    if newvalues.has_key('status') and
newvalues['status']:
         return

     # ok, do it

Attached a patch that improved behaviour for me,too.
It is not intuitive that last comments on issues reset
the status to "chatting". On the other hand, if they
had no status. We can set it to chatting.
History
Date User Action Args
2009-02-03 14:20:06adminlinkissue621250 messages
2009-02-03 14:20:06admincreate