Roundup Tracker - Issues

Message4512

Author jerrykan
Recipients jerrykan
Date 2012-03-06.10:35:07
Message-id <1331030108.5.0.876261275504.issue2550612@psf.upfronthosting.co.za>
In-reply-to
Turns out that this issue is not related to displaying the date using
field(), but attempting to display the date in the history section of
the issue. When generating the "current state" the DateHTMLProperty
._value contains a str instead of Date which causes problems when
calling .plain()

The actual issue is therefore: values that have not been committed to
the database (due to an auditor error) are showing up in this history
when an auditor error occurs.

To reproduce this subtle issue (in a visual way):
 * Create a new issue that is assigned to someone ("demo")
 * Edit the issue, and un-assign it from anyone ("- no selection -")
 * Edit the issue once again, and:
    * assign the issue to someone ("demo")
    * delete the contents of the title (to trigger an auditor error)

The history should look like:
  2012-03-06 09:28:06	demo	set	assignedto: demo -> 
  2012-03-06 09:27:54	demo	create	

But instead it looks like:
  2012-03-06 09:28:06	demo	set	assignedto: demo -> demo
  2012-03-06 09:27:54	demo	create
History
Date User Action Args
2012-03-06 10:35:08jerrykansetmessageid: <1331030108.5.0.876261275504.issue2550612@psf.upfronthosting.co.za>
2012-03-06 10:35:08jerrykansetrecipients: + jerrykan
2012-03-06 10:35:08jerrykanlinkissue2550612 messages
2012-03-06 10:35:07jerrykancreate