Ant,

Let's check a few things:

Did you enable behaviors in your propel.ini?

 propel.builder.AddBehaviors = true

Did you rebuild the model after that?

 symfony propel-build-model

Do you use the latest version of symfony (1.0.2) ?

Did you add the behaviors to the class you want to extend?

  sfPropelBehavior::add($class_name, array($behavior_name));

Is the behavior in an autoloadable directory (lib/) ?

Did you clear the cache ?

François

-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED]
De la part de Ant Cunningham
Envoyé : vendredi 4 mai 2007 05:46
À : [email protected]
Objet : [symfony-users] Propel Behaviors: "Propel Behavior not registered"


ok after days of trying to figure out what I was doing wrong I found the
threads in the forums about SfPeerBuilder and propel behaviors. I have tried
replacing the class with the patched one and also manually adding the proper
__call method to the object class and neither seem to work. it just ignores
them in the application. and if I do symfony propel-generate-crud I get:

[sfConfigurationException]
  Propel behavior "behaviorName" is not registered I even made anew app just
to test, and used sfPropelParanoidBehavior with it.

IT doesn't work in the test case either. How do I fix this???????






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to