Issue 601617
Created on 2002-08-28 23:59 by anonymous, last changed 2002-08-30 22:51 by richard.
msg316 |
Author: [hidden] (anonymous) |
Date: 2002-08-28 23:59 |
|
I'm playing with 0.4.3. I've installed an instance with
the "classic" schema, and have modified the status part
of dbinit.py thusly:
---
stat = db.getclass('status')
stat.create(name="not-started", order="1")
stat.create(name="deferred", order="2")
stat.create(name="in-progress", order="3")
stat.create(name="more-info", order="4")
stat.create(name="vendor", order="5")
stat.create(name="unreproducable", order="6")
stat.create(name="wont-fix", order="7")
stat.create(name="resolved", order="8")
---
I've just created an issue with status "not-started",
and then tried to change its status to "vendor". This
gave the following error:
---
Traceback (most recent call last):
File
"/usr/lib/python2.1/site-packages/roundup/cgi_client.py",
line 578, in shownode
self._changenode(props)
File
"/usr/lib/python2.1/site-packages/roundup/cgi_client.py",
line 629, in _changenode
cl.set(self.nodeid, **props)
File
"/usr/lib/python2.1/site-packages/roundup/roundupdb.py",
line 134, in set
self.fireAuditors('set', nodeid, propvalues)
File
"/usr/lib/python2.1/site-packages/roundup/roundupdb.py",
line 214, in fireAuditors
audit(self.db, self, nodeid, newvalues)
File
"/usr/lib/python2.1/site-packages/roundup/templates/classic/detectors/statusauditor.py",
line 34, in chatty
unread_id = db.status.lookup('unread')
File
"/usr/lib/python2.1/site-packages/roundup/hyperdb.py",
line 781, in lookup
raise KeyError, keyvalue
KeyError: unread
---
The customisation guide doesn't say anything about
changing the instance statusauditor.py. What should I
be doing to get this working?
Nice work on the project, though - I have plenty of
uses for this.
Cheers,
Rob <rob@cataclysm.cx>
|
msg317 |
Author: [hidden] (richard) |
Date: 2002-08-30 22:51 |
|
Logged In: YES
user_id=6405
Please post a message to the roundup-users mailing list, and we can
discuss it there.
|
|
Date |
User |
Action |
Args |
2002-08-28 23:59:42 | anonymous | create | |
|