Hi,

I'm trying to add a custom behavior to my project, but when I run
propel:build-all I keep getting the following error,

'Propel behavior "previewable" is not registered'

I'm pretty sure I'm missing something stupid here, but I need a fresh
pair of eyes.

I've added a class called mbpPropelActAsPreviewableBehavior in lib/
behavior/mbpPropelActAsPreviewableBehavior.php.

In my propel.ini, I've added after all the symfony behavior settings
the following,

propel.behavior.previewable.class =
lib.behavior.mbpPropelActAsPreviewableBehavior

And in my schema I've added,

myTable:
  _attributes:{ phpName: MyTable }
  id: ~
  _behaviors:
    previewable: []

But I'm still getting the error stated above. Does anyone know where
I'm going wrong?

Thanks,

Steve

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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