Development

#2399 (sfPropelActAsCommentableBehavior not working with CRUD)

You must first sign up to be able to contribute.

Ticket #2399 (closed defect: invalid)

Opened 1 year ago

Last modified 1 year ago

sfPropelActAsCommentableBehavior not working with CRUD

Reported by: mlmarius Assigned to: xavier
Priority: minor Milestone:
Component: sfPropelActAsCommentablePlugin Version: 1.0.7
Keywords: Cc:
Qualification: Unreviewed

Description

I installed 'sfPropelActAsCommentableBehavior' according to the provided documentation http://trac.symfony-project.com/wiki/sfPropelActAsCommentableBehaviorPlugin but now i can not generate the CRUD of an object that is commentable and i get an error ( sfConfigurationException ) saying that Propel behavior 'sfPropelActAsCommentableBehaviorPlugin' is not registered.

Change History

10/19/07 07:17:17 changed by Mickael.Kurmann

that's not only a problem for this behavior, but for all, there is a discussion about that

11/17/07 22:10:29 changed by dboune

Reading the discussion, we all now know that there is a "bug" in Symfony affecting crud generation. It looks as though specifically the plugin's config.php is not being called during the crud generation process.

Very ugly, totally inappropriate, still: Manually including the needed plugins config.php file in the model before any calls to sfPropelBehavior::add during crud generation causes it to work. Remove the include immediately after and you have your generated module, working and ready to be customized.

12/10/07 12:50:47 changed by xavier

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

I set this bug as invalid, as it does not depend on the plugin.