Development

#2496 (sfadmingenerator for my crud not able to create sortable fields)

You must first sign up to be able to contribute.

Ticket #2496 (new defect)

Opened 8 months ago

Last modified 6 months ago

sfadmingenerator for my crud not able to create sortable fields

Reported by: gv21 Assigned to: fabien
Priority: major Milestone:
Component: generator Version: 1.0.7
Keywords: sfadmin sfadmin admin generator sfadmingenerator Cc:
Qualification: Unreviewed

Description

I have a mysql 5.045 database on linux with field name like ModelID ,TypeID, MakeID all of them link to car types in other tables. I can generator the crud with

symfony propel-init-admin admx vehiclemodel StaticVehicleModel?

which yields a working (but buggy URL) at

http://myproject.com/admx_dev.php/vehiclemodel

when I click on the field headers (Modelname) the following happens :

[PropelException?] 'modelname' could not be found in the field names of type 'fieldName'. These are: Array ( [ModelID] => 0 [ModelName?] => 1 [TypeID] => 2 [MakeID] => 3 )

What gives? I read that issues exist on some names for fields. What's the fix Is their a recommended naming standard for mysql database field names on linux ?

regards, gisueppe.

Change History

01/17/08 17:51:45 changed by Markus.Wagner

I think this problem appears if you have field names with upper cases. see http://trac.symfony-project.com/ticket/1286