[TYPO3-mvc] Dispatch Error after adding Boolean Property to Demand Class

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Tue Feb 7 00:19:28 CET 2012


On 06.02.2012 23:15, Claus Due wrote:
>> i can confirm this: the form checkbox commented out it works without error.
>>
>> I don't have any TCA for this class because it's not persistent.
> Hi Till,
>
> Maybe the property has not been reflected and the property mapper doesn't know that it is available?
>
> I'm not sure how to proceed with this one. I'm sure it's the property mapper but I'm not sure how to fix this with an unpersisted object... Hope somebody else can chip in.
>
Hi Claus,

thanks for your help.

I commented out the catch {} in the dispatcher loop
(typo3_src-4.6.1/typo3/sysext/extbase/Classes/MVC/Dispatcher.php:93) and 
now it throws a Tx_Extbase_MVC_Exception_StopAction in 
/typo3_src-4.6.1/typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php:277:

         public function forward($actionName, $controllerName = NULL, 
$extensionName = NULL, array $arguments = NULL) {
                 $this->request->setDispatched(FALSE);
                 $this->request->setControllerActionName($actionName);
                 if ($controllerName !== NULL) 
$this->request->setControllerName($controllerName);
                 if ($extensionName !== NULL) 
$this->request->setControllerExtensionName($extensionName);
                 if ($arguments !== NULL) 
$this->request->setArguments($arguments);
                 throw new Tx_Extbase_MVC_Exception_StopAction();
         }

The request is forwarded to a other action? Maybe that's a hint for 
someone who knows the mechanics...

Cheers,
Till


More information about the TYPO3-project-typo3v4mvc mailing list