Roundup Tracker - Issues

Issue 569178

classification
type error
Type: Severity: normal
Components: Database Versions:
process
Status: closed fixed
:
: richard : dman13, richard
Priority: low :

Created on 2002-06-14 20:32 by dman13, last changed 2002-06-17 21:35 by richard.

Messages
msg270 Author: [hidden] (dman13) Date: 2002-06-14 20:32
In some circumstances, the 'oldvalues' argument to
generateChangeNote (roundupdb.py, line 578) is a
string, not a dictionary.  

I've seen this with mailgw and ZRoundup.  At least in
the case of mailgw, the string is the message trailer
(property list).

A temporary workaround is to catch the AttributeError
exception and return an "error" string instead.
msg271 Author: [hidden] (dman13) Date: 2002-06-16 22:20
Logged In: YES 
user_id=555791

The problem seems to be caused by the combination of these
two lines in "nosryreaction.py" (extended template, version
0.4.1)

            change_note = cl.generateChangeNote(nodeid,
oldvalues)
            cl.sendmessage(nodeid, msgid, change_note)

The third argument to sendmessage() is supposed to be a
dict.  (it is frontend agnostic)  This appears to be fixed
in the CVS version.  I'll find out soon enough ...
msg272 Author: [hidden] (richard) Date: 2002-06-17 21:35
Logged In: YES 
user_id=6405

 
History
Date User Action Args
2002-06-14 20:32:13dman13create