In one of our plugins, I have a custom admin generator theme that I
based off of the admin theme in symfony 1.2's sfDoctrine plugin (lib/
plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/).

After upgrading symfony to 1.3 I got the following warning message in
the admin generator modules that used this theme:

Strict Standards: Declaration of
BasePkUserAdminGeneratorConfiguration::getForm() should be compatible
with that of sfModelGeneratorConfiguration::getForm() in /Users/alex/
Sites/artcons/cache/frontend/dev/modules/autoPkUserAdmin/lib/
BasePkUserAdminGeneratorConfiguration.class.php on line 11

I did some digging and found that this method was being declared in my
theme in a file I had never touched (plugins/pkToolkitPlugin/data/
generator/sfDoctrineModule/pkAdmin/parts/configuration.php). I went to
sfModelGeneratorConfiguration and copied over the correct declaration
of this method into my configuration.php and now the warning is gone.

I'm wondering if I just missed this documentation somewhere. Would the
upgrade script have handled this if it was part of the project and not
in a plugin? Or could this be better documented for others that may
run into the same problem? (I did fine one similar open ticket from a
month ago: http://trac.symfony-project.org/ticket/7463.)

--

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