Bug #3122

ViewHelper arguments are not properly passed to render() method

Added by Bastian Waidelich about 13 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
-
Target version:
-
Start date:
2009-04-17
Due date:
% Done:

0%

Estimated time:
Has patch:

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.

#1

Updated by Sebastian Kurfuerst about 13 years ago

  • Assignee changed from Bastian Waidelich to Sebastian Kurfuerst

i'll take care of this

#2

Updated by Sebastian Kurfuerst about 13 years ago

  • Status changed from New to Resolved

resolved. will still be backported

Also available in: Atom PDF