Development

#3279 (propel-build-sql with multiple schema files: Call to a member function addTable() on a non-object)

You must first sign up to be able to contribute.

Ticket #3279 (closed defect: worksforme)

Opened 8 months ago

Last modified 5 months ago

propel-build-sql with multiple schema files: Call to a member function addTable() on a non-object

Reported by: carsten Assigned to: fabien
Priority: major Milestone:
Component: other Version: 1.1.0 BETA2
Keywords: Cc:
Qualification: Unreviewed

Description

When trying to build SQL tables from more than one schema.yml the command "symfony-1.1 propel-build-sql" fails. It works for a single schema file.

propel > sql-template: [propel-sql] Processing: generated-social.schema.xml [propel-sql] Processing: generated-main.schema.xml PHP Fatal error: Call to a member function addTable() on a non-object in /usr/share/pear/symfony-1.1/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/phing/PropelSQLTask.php on line 233

Change History

04/05/08 04:30:39 changed by carsten

This was also reported here, with a simple hack to fix it: http://www.symfony-project.org/forum/index.php/m/45254/

06/23/08 06:39:44 changed by dwhittle

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