[TYPO3-core] RFC Bug #11039: Simulating frontend user groups via admin panel does not work

Steffen Kamper info at sk-typo3.de
Sat May 23 17:05:16 CEST 2009


Hi olly,

perfect, it works again! So +1 by testing.
I also tried to fix but the initialisation isn't trivial to get the 
correct order, thx for catching it!

vg Steffen


Oliver Hader schrieb:
> FYI: Committed to SVN Trunk (rev. 5488)
> 
> olly
> 
> 
> Oliver Hader schrieb:
>> This is an SVN patch request.
>>
>> Type: Bugfix
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=11039
>>
>> Branch: Trunk
>>
>> Problem:
>> The admin panel has a functionality to simulate frontend user groups
>> (Admin Panel > Preview). However, the submitted value is not set
>> corretly to BE_USER->uc and the simulation does not work at all.
>>
>> Solution:
>> Since frontend editing and the admin panel were extracted so separate
>> parts during the development of TYPO3 4.3 the initialization of the
>> admin panel has to be executed explicitely. The method
>> $TSFE->determineId() sets the user group to be simulated to the current
>> frontend user object. Thus, the admin panel has to be initialized before
>> $TSFE->determineId() gets called.
>>
>> Notes:
>> Thanks to Niels Fröhling for investigating and providing some details.
>> I'm going to commit this patch before releasing TYPO3 4.3-alpha3.
>>
>> olly


More information about the TYPO3-team-core mailing list