Bug #17978
closedProblem with cms\tslib\index_ts.php
0%
Description
Hi
Why \cms\tslib\index_ts.php concerning frontend editing.
older versions frontend editing sfuff wa here
$BE_USER->extInitFeAdmin();
if ($BE_USER->extAdmEnabled) {
// frontend editing here
in new file later
// *********************************
// Frontend editing
// *********************************
if ($TSFE->beUserLogin && $BE_USER->extAdmEnabled) {
The change violates pluging pixe_feediting and presumably mk_tvfronend,
which calls templavoila api function this way:
$sourcePointerString = $this->TSFE_EDIT['flexformPointer'];
$sourcePointer = $this->flexform_getPointerFromString ($sourcePointerString);
$apiClassName = t3lib_div::makeInstanceClassName('tx_templavoila_api');
$TVObj = new $apiClassName ($sourcePointer['table']);
Calling of api function doesn't work as expected - works after reloading page.
file cms\tslib\index_ts.php from Typo3 4.1.1 solved the problem.
file cms\tslib\index_ts.php from Typo3 4.1.1 solved the problem
Just replace in newer version the existing file with older one
(issue imported from #M7121)
Updated by Oliver Hader almost 17 years ago
The code you mentioned was changed to fix bug #16526
Updated by Valery Romanchev almost 17 years ago
this is related to http://bugs.typo3.org/view.php?id=3191
Updated by Tapio Markula almost 17 years ago
related bug: http://bugs.typo3.org/view.php?id=4160
Then imo the solution is not good because it cause more problems.
Personally I have fixed the problem, which has been explained in
the bug 0004160 exactly the way which Beat Zimmerli proposed.
The solution of Typo3 4.1.3 and newer is just totally intorable for my plugins.
It destroyes bad way functinalities in pixe_feediting and because it has some functionalities from mk_tvfrontend, this solutions destroys the functionality of mk_tvfrontend too.
Maybe all plugins, which use XCLASS for class.t3lib_tsfebeuserauth.php don't work properly after this change.
Updated by Jeff Segars over 16 years ago
This has been fixed in ticket #18265 by adding a 2 hooks after frontend editing actions are performed. You can use the hooks to call TSFE->determineID() or any other methods you need.