It seems to be a problem with the autoload. (sf 1.1 updated to 1.2)
After doing a symfony cc,
In the test env,
I'm receiving an sfException : Method undefined BasesfGuardUser->FOO()
***(Except that it works once in a while and it works in web (prod,
dev) everytime)***
The details :
- In the prod or dev environment everything seems to be ok.
- I'm using propel and sfGuardPlugin.
- I'm extending sfGuardUser in lib/model/sfGuardPlugin/sfGuardUser.php
to add the method : FOO()
- In my test I do a sfGuardUserPeer->retrieveByUsername(...)->FOO()
- When an exception is thrown the autoload.cache is lighter tahn when
it works
To debug I've :
- checked the parent of my class (class_parents) and everything is OK
(pluginSfGuardUser, BasesfGuardUser)
- printed the class path (sfAutoload...->getClassPath) everything is
OK (lib/model/sfGuardPlugin)
- printed the class methods NOT OK (I only have the methods of
basesfGuardUser except when it works [after a good cc])
I don't have any ideas left
Thanks in advance for any help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---