Roundup Tracker - Issues

Message1466

Author don_fu
Recipients
Date 2004-10-07.07:49:10
Message-id
In-reply-to
Logged In: YES 
user_id=1083360

Yes, I'm on CVS HEAD here. I could reproduce the bug here on
MySQL with a fresh tracker:

- create a tracker with a mysql backend
- add a property i=Interval() to the user class in schema.py
- add an form field to html/user.item.html for the new property
- Set the new property to a value for some user
- this works and is correctly displayed in the history
- Now change the property by setting it to a new value
- The history can't be displayed anymore (see tb below)

studied the history code a while, but I'm not in a position
to fix it properly ;)

stefan.




  File
"/home/atw/cvstracker/cvs/roundup/cgi/PageTemplates/Expressions.py",
line 95, in render
    ob = ob()
  File "/home/atw/cvstracker/cvs/roundup/cgi/templating.py",
line 912, in history
    translator=self._client))
  File "/home/atw/cvstracker/cvs/roundup/date.py", line 480,
in __init__
    if len(spec) == 7:
AttributeError: Interval instance has no attribute '__len__'
History
Date User Action Args
2009-02-03 14:20:57adminlinkissue1041266 messages
2009-02-03 14:20:57admincreate