Bug #263

Object Builder injects constructor arguments of previous builds if no arguments are passed explicitly

Added by Robert Lemke about 13 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Object
Target version:
-
Start date:
2008-02-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Code which exploits the bug:

$component1 = $componentManager->getComponent('T3_TestPackage_ClassWithOptionalConstructorArguments', 'someValue');
echo $component1->argument1; // output: "someValue" 
$component2 = $componentManager->getComponent('T3_TestPackage_ClassWithOptionalConstructorArguments');
echo $component2->argument1; // output: still "someValue", expected output: "" 
#1

Updated by Robert Lemke about 13 years ago

  • Status changed from New to Accepted
#2

Updated by Robert Lemke almost 13 years ago

  • Target version deleted (18)

Also available in: Atom PDF