Ticket #15 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

[newofrms_extra] get_changed_fields() fails when adding new object

Reported by: akaihola Owned by: akaihola
Priority: major Milestone: 2008-03_bugfixes
Component: tracregator Version: trunk
Keywords: Cc:
Estimated Number of Hours: 1 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0.16

Description

If a form is used to create a new object and get_changed_fields() is called, lines 142-143 in models.py fail because many-to-many related objects are attempted to be accessed.

Attachments

Change History

Changed 10 months ago by akaihola

  • status changed from new to assigned

Automatically accepting in order to start work.

Changed 10 months ago by akaihola

  • hours changed from 0 to 0.16

akaihola worked on this ticket for 9 minutes between 04.03.2008 13:29:00 and 04.03.2008 13:38:22.

Changed 10 months ago by akaihola

  • status changed from assigned to closed
  • totalhours changed from 0.0 to 0.16
  • resolution set to fixed

Fixed in [175]. All many-to-many fields are considered as "changed" when creating a new object, regardless of their value.

Add/Change #15 ([newofrms_extra] get_changed_fields() fails when adding new object)

Author



Change Properties
<Author field>
0.16
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.