Bug #31452

IgnoreValidation with argumentName does not work for ActionController

Added by Christopher Hlubek about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
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

Related to TYPO3.Flow - Bug #31270: Proxy classes loose @return and @throws annotationsResolvedKarsten Dambekalns2011-10-25

Actions
#1

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

#2

Updated by Christopher Hlubek about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF