Ticket #2169 (closed defect: fixed)
Export creates upper case foreign key field names in Oracle schema
| Reported by: | pkw | Owned by: | jwage |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0.11 |
| Component: | Import/Export | Version: | 1.0.7 |
| Severity: | abc | Keywords: | |
| Cc: | Has Test: | no | |
| Status: | Pending Core Response | Has Patch: | yes |
Description
The field names in the yaml schema generated for Oracle are converted to lower case except when they appear in foreign keys. This causes failures in the generated classes when doing joins. The patch is to add strtolower to the lines near 115 in buildSchema in class Doctrine_Export_Schema
$table['relations'][$relationKey]['local'] = strtolower($relationData['local']);
$table['relations'][$relationKey]['foreign'] = strtolower($relationData['foreign']);
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
