Bug #31452
IgnoreValidation with argumentName does not work for ActionController
Status:
Resolved
Priority:
Should have
Assignee:
Category:
MVC
Target version:
Start date:
2011-10-31
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
No
Complexity:
Description
The following code will not work as expected:
/** * @param \TYPO3\FLOW3\Tests\Functional\MVC\Fixtures\Controller\TestObjectArgument $argument * @FLOW3\IgnoreValidation(argumentName="$argument") */ public function showObjectArgumentAction(TestObjectArgument $argument) { return $argument->getEmailAddress(); }
The ActionController still use getMethodTagsValues to get ignored arguments.
Related issues
Updated by Mr. Hudson about 9 years ago
- Status changed from New to Under Review
Patch set 1 of change I1c6b2a24f452b313e541e14f47194e046629786a has been pushed to the review server.
It is available at http://review.typo3.org/6393
Updated by Christopher Hlubek about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1c92bdd443bb90f881b566eee1ec5235f7d5f8c2.