Actions
Bug #19075
closedTCEmain: $id is overwritten and causes problems to hooks
Start date:
2008-07-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If you set the stage for multiple workspace elements, the case 'setStage' overwrites the globals $id var in the foreach loop.
Therefore you get in the Postprocessing Hook just the last id of elements with a changed state.
Solution should be, to change the name of the id variable in the foreach loop (line 2359):
case 'setStage':
$idList = t3lib_div::trimExplode(',',$id,1);
foreach($idList as $id_local){
...
}
(issue imported from #M8922)
Updated by Schmidt Timo over 16 years ago
Seems to be the same in 4.2.1 line 2566
Updated by Dmitry Dulepov over 16 years ago
Changed subject to show what bug is about
Updated by Martin Kutschker over 16 years ago
Fixed in 4.1.8, 4.2.2 and 4.3.0-alpha1.
Actions