[Flow] Validation > Exception instead of going back to newAction
Bastian Waidelich
bastian at typo3.org
Fri Dec 6 13:18:11 CET 2013
Axel Wüstemann wrote:
Hi Axel,
> This unfortunately does not work because in this state
> $depositInspection ist not of type
> ...\FisheryInspection\Domain\Model\DepositInspection
Sorry, I meant to write $depositInspection['date']...
> A bit frustating, that in the first step simple things lead to those
> complex thing.. ;=)
I feel with you and they shouldn't. One goal of Flow is to enable you to
write complex applications while keeping the code very easy to
comprehend on all levels.
If the code gets complex (especially in your controller) there's usually
something wrong (in Flow or in your approach).
No offense, but if you don't provide more information it's very hard for
us to help you improve your approach and/or detect bugs & missing
features in Flow. If you don't want to share your model, you could try
to recreate a simple example that demonstrates the behavior.
--
Bastian Waidelich
More information about the Flow
mailing list