Development

#2702 (propel:data-load: No connection params set for propel)

You must first sign up to be able to contribute.

Ticket #2702 (closed defect: worksforme)

Opened 1 year ago

Last modified 5 months ago

propel:data-load: No connection params set for propel

Reported by: jablko Assigned to: fabien
Priority: minor Milestone:
Component: model Version: 1.1.0 DEV
Keywords: Cc:
Qualification: Unreviewed

Description

I get this error using propel:load-data in symfony 1.1 r6623:

No connection params set for propel

I think this is because tasks use the sfSimpleAutoloader, which doesn't support sfPropelPlugin/config/autoload.yml:

... propel_class:

name: propel class files:

Propel: %SF_SYMFONY_LIB_DIR%/plugins/sfPropelPlugin/lib/propel/sfPropelAutoload.php

...

This patch fixes the sfPropelPlugin to work with sfSimpleAutoloader

Attachments

patch (1.2 kB) - added by jablko on 12/21/07 00:18:04.

Change History

12/21/07 00:18:04 changed by jablko

  • attachment patch added.

12/26/07 23:12:33 changed by fabien

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

07/30/08 17:27:39 changed by nicolas

(In [10512]) [1.1] fixed "No connection params set for propel" PropelException thrown in Propel command line tasks under certain circumstances (refs #3323, #2702, #1915)

07/30/08 17:28:20 changed by nicolas

(In [10513]) [1.2] backport of r10512 - fixed "No connection params set for propel" PropelException thrown in Propel command line tasks under certain circumstances (refs #3323, #2702, #1915)