Development

#713 (propel-build-model error after upgrading to 0.7.1581)

You must first sign up to be able to contribute.

Ticket #713 (closed defect: fixed)

Opened 2 years ago

Last modified 7 months ago

propel-build-model error after upgrading to 0.7.1581

Reported by: SentinelDiety Assigned to:
Priority: major Milestone: 1.0.0
Component: Version: 0.7.X
Keywords: propel-build-model schema.xml Cc:
Qualification:

Description

After upgrading to symfony 0.7.1581, the propel-build-model task is broken, failing with the following error:

ERROR: symfony - You must create a schema.xml file.

As Gimler in the forum correctly pointed out, this can be fixed by a simple change in {$data_dir}/symfony/tasks/sfPakePropel.php. Line 132 should be changed from:

  $schemas = pakeFinder::type('file')->name('*schema.yml')->relative()->in('config');

to:

  $schemas = pakeFinder::type('file')->name('*schema.xml')->relative()->in('config');

It seems that the problem is a typo, causing pake/propel to look for a schema.yml, rather than a schema.xml. Upon changing this line, the task works perfectly again.

Change History

07/06/06 19:39:22 changed by fabien

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

in r1587

11/27/07 09:55:31 changed by nicolas

(In [6177]) Added sfPropelMigration plugin - refs #713