[Flow] How to retrieve settings?
Carsten Bleicker
carsten at bleicker.de
Sat Jan 4 14:15:14 CET 2014
hi axel,
just an idea:
settings are missing in my case too if i extend a controller from another one.
example:
class AbstractFooController extends ActionController{}
class FooController extends AbstractFooController {} // settings injection works
class BarController extends FooController {} // settings NOT injected
class BazController extends BarController {} // settings NOT injected
this happens because of a bug in the builded proxy classes.
christian müller knows about it. didn't find a forge ticket yet.
maybe you have some of those nested extendings too?
i ran into this problem several weeks ago too.
my workaround was simply do remove the nesting extending stuff.
having duplicate code now but it works for me right now.
kind regards
carsten
Am 04.01.2014 um 13:59 schrieb Andreas Wolf <andreas.wolf at typo3.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi Axel,
>
> Am 03.01.2014 18:48, schrieb Axel Wüstemann:
>> Qbus.Bestdesq/Configuration/settings.yaml
>
> just a quick guess: Could it be that you used settings.yaml instead of
> Settings.yaml (in case you're using a case-sensitive file system)?
>
>
> And the second thing: Which contexts do you use? Did you clear all
> caches after changing the configuration? In case you're using the
> Production context, also make sure to remove the cache file in
> Data/Temporary/Production/Configuration/ - took me quite a while to
> find out that this file exists (and IIRC is not deleted by clearing
> the cache with flow flow:cache:flush...).
>
>
> HTH
>
> Andreas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iF4EAREIAAYFAlLIBZoACgkQVRefK2MMWg5KCwD/V2PZXiY2jTLr9RGiXgk9ZdlK
> ozeq5/peIC5hoFUGDoUA/R+FGkTGwLxXUXniL0PD8UULeo5JmYi5aqCf3lCJnk3h
> =+EvP
> -----END PGP SIGNATURE-----
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list