[TYPO3-mvc] redirect to action

Helmut Hummel helmut.hummel at typo3.org
Wed Nov 19 19:27:18 CET 2014


Hi!

On 19.11.14 19:07, Jacco van der Post wrote:

> 	/**
> 	 * thanksAction
>        *
> 	 * @param \xxx\yyy\Domain\Model\Media $media
> 	 * @return void
> 	 */
> 	public function thanksAction(\xxx\yyy\Domain\Model\Media $media) {
>
>
> 	}
>
>
> How do I send $newMedia or values of it to thanksAction?
>
> The argument type for parameter $arguments of method
> xxx\yyy\Controller\MediaController->thanksAction() could not be detected.

Make sure your doc comment for the method is correctly formatted (in the 
code you pasted there were space and tabs mixed, not sure if this 
matters though)

Then clear the system cache (which clears the reflection cache of 
Extbase) as it seems that your thanksAction previously had the argument 
"$arguments"

HTH

Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-typo3v4mvc mailing list