Development

#6001 (Generate forms with same inheritance as model)

You must first sign up to be able to contribute.

Ticket #6001 (closed defect: fixed)

Opened 1 year ago

Last modified 7 months ago

Generate forms with same inheritance as model

Reported by: dereck Assigned to: Jonathan.Wage
Priority: major Milestone:
Component: sfDoctrinePlugin Version: 1.2.4
Keywords: Cc:
Qualification: Unreviewed

Description (Last modified by Jonathan.Wage)

NOTE: Below is the original ticket but I am adding this note. We should generate the filters and forms with the same inheritance structure as the model. Not sure which milestone we'll address this in currently.

When having the following schema:

Ancestor:
  actAs:
   Timestampable:

Descendant:
  inheritance:
    extends: Ancestor
    type: concrete

doctrine is unable to generate admin and forms correctly.

From what I've seen problems tends to occur when parent classes don't have columns in their structure, or they have behaviors that alter table's structure (timestampable being and example).

Attachments

FormInheritance.diff (1.8 kB) - added by Stephen.Ostrow on 06/02/09 23:42:55.

Change History

03/05/09 17:15:40 changed by Jonathan.Wage

  • description changed.
  • summary changed from doctrine inheritance problem to Generate forms with same inheritance as model.

03/05/09 17:15:50 changed by Jonathan.Wage

  • description changed.

03/05/09 17:16:04 changed by Jonathan.Wage

  • description changed.

06/02/09 23:42:55 changed by Stephen.Ostrow

  • attachment FormInheritance.diff added.

07/07/09 23:11:55 changed by Jonathan.Wage

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

(In [19990]) [1.3] sfDoctrinePlugin: Enhancing form generation to generate forms with the proper inheritance structure that matches the models (closes #6001)

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.