Bug #3122
ViewHelper arguments are not properly passed to render() method
Status: | Resolved | Start date: | 2009-04-17 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Sebastian Kurfuerst | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Has patch: | Affected Flow version: |
Description
If a ViewHelper registers different arguments than it accepts in the render()-method, arguments are not properly injected:
class MyViewHelper extends \F3\Fluid\Core\TagBasedViewHelper { @param string $someArgument public function render($someArgument) {...} }
In this example $someArgument will have the value of the "additionalAttributes"-argument that was registered in the parent ViewHelper.
Associated revisions
Fluid:
- Fixed bug 3122: ViewHelper arguments are not properly passed to render() method
History
#1 Updated by Sebastian Kurfuerst over 6 years ago
- Assigned To changed from Bastian Waidelich to Sebastian Kurfuerst
i'll take care of this
#2 Updated by Sebastian Kurfuerst over 6 years ago
- Status changed from New to Resolved
resolved. will still be backported