Development

#3530 ([PATCH] sfDoctrinePlugin/sfFormDoctrine: function isNew() returns the opposite of what it should return)

You must first sign up to be able to contribute.

Ticket #3530 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

[PATCH] sfDoctrinePlugin/sfFormDoctrine: function isNew() returns the opposite of what it should return

Reported by: thomas.s Assigned to: Jonathan.Wage
Priority: major Milestone:
Component: sfDoctrinePlugin Version: 1.1.0 RC1
Keywords: form generation doctrine Cc:
Qualification: Unreviewed

Description

The function isNew() of the class sfFormDoctrine should return false, if the object of the form exists ($model->exists()), but it returns the opposite value (see patch).

Attachments

sfFormDoctrine_isNew.diff (1.4 kB) - added by thomas.s on 05/14/08 01:05:54.
Use the function isNew() and return the correct value.

Change History

05/14/08 01:05:54 changed by thomas.s

  • attachment sfFormDoctrine_isNew.diff added.

Use the function isNew() and return the correct value.

05/14/08 03:48:33 changed by Jonathan.Wage

  • status changed from new to closed.
  • resolution set to fixed.

(In [8937]) fixes #3530