Development

#5411 ((Doctrine&Propel!) admin generator has problems with camelStyle model names)

You must first sign up to be able to contribute.

Ticket #5411 (closed defect: fixed)

Opened 7 months ago

Last modified 3 months ago

(Doctrine&Propel!) admin generator has problems with camelStyle model names

Reported by: MisterF Assigned to: fabien
Priority: major Milestone: 1.2.7
Component: generator Version: 1.2.4
Keywords: generator camelStyle uppercase lowercase underscore Cc:
Qualification: Unreviewed

Description

I use camelStyle field names for all my models. In generall that works fine and I think it is a officel feature.

However, the (doctrine) admin generator gets it wrong and generates field names in non_camel_style (with underscores instead of "first letter uppercase"). In this way the generated Modules are unusable.

It seems to be a problem with the field name generation in sfDoctrineGenerator.class.php and the use of the methods in fieldsConfiguration.php

Change History

12/22/08 09:51:31 changed by FabianLange

  • owner changed from fabien to Jonathan.Wage.

12/22/08 09:51:37 changed by FabianLange

  • milestone set to 1.2.2.

12/22/08 20:42:41 changed by Jonathan.Wage

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

(In [14256]) [1.2] sfDoctrinePlugin: fixes Doctrine admin generator with camelStyle column name (closes #5411)

02/25/09 16:32:47 changed by cdonhofer

  • status changed from closed to reopened.
  • version changed from 1.2.1 to 1.2.4.
  • resolution deleted.
  • summary changed from (Doctrine) admin generator has problems with camelStyle model names to (Doctrine&Propel!) admin generator has problems with camelStyle model names.

it doesn't work with propel, too.

02/26/09 22:41:53 changed by Jonathan.Wage

  • owner changed from Jonathan.Wage to fabien.
  • status changed from reopened to new.

03/17/09 15:50:22 changed by blerou

@Jon: Why did you remove the $tableCountMethodName from the sfDoctrinePager? (added in ticket:5324, r14108) In some cases this is the only way to get the correct count of the resultset.

04/04/09 15:40:58 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from 1.2.2 to 1.2.6.

in r16976

The Sensio Labs Network

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