Project

General

Profile

Actions

Bug #19075

closed

TCEmain: $id is overwritten and causes problems to hooks

Added by Schmidt Timo almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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)

Actions #1

Updated by Schmidt Timo almost 16 years ago

Seems to be the same in 4.2.1 line 2566

Actions #2

Updated by Dmitry Dulepov almost 16 years ago

Changed subject to show what bug is about

Actions #3

Updated by Martin Kutschker almost 16 years ago

Fixed in 4.1.8, 4.2.2 and 4.3.0-alpha1.

Actions

Also available in: Atom PDF