[TYPO3-english] Re: An error occurred while trying to call any action

Bernhard Schenkenfelder bernhard at schenkenfelder.co.at
Fri Sep 26 15:08:27 CEST 2014


Dear Anja:

First, I added @ignorevalidation $myObject to the docheader of showAction to get rid of the error message.

Then, I added 

public function initializeAction() {
    $args = $this->request->getArgument('myObject');
    var_dump($args);
}

to the same controller.

Surprisingly, the output is string(2) "24", which represents the -- correct -- uid of the table. Now how can I compare $myObject to the Model and @validate annotations if I don't get to see the object?

Many thanks,
Bernhard


More information about the TYPO3-english mailing list