On 16.02.2011, at 01:01, Lukas Kahwe Smith wrote:
> Hi,
>
> Going to bed unhappy because I cannot figure this out, but with the recent
> changes in fabpot/master booting the kernel multiple times seems to lead to
> obscure issues where configuration parameters are lost. If someone has an
> idea, would be awesome. I am pretty frustrated after trying to figure this
> out for 2 hours now :(
ok .. i figured it out.
the reason was that i was using a bundle only for its entities, but i wasn't
actually configuring it. that bundle however requires configuration on load.
obviously load is now being called automatically.
the solution was to disable the bundle, but list a mapping:
doctrine:
orm:
mappings:
user_bundle:
is_bundle: false
type: xml
dir:
%kernel.root_dir%/../src/FOS/UserBundle/Resources/config/doctrine/metadata/orm
prefix: true
not sure what the "prefix" is all about, but it wants something non empty there
:)
regards,
Lukas Kahwe Smith
[email protected]
--
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 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