[Flow] Validation concept is flawed in TYPO3 Flow?

Alexander Berl a.berl at outlook.com
Tue Jul 22 21:20:55 CEST 2014


There is already an issue on jira that relates to suboptimal validation
logic: https://jira.typo3.org/browse/FLOW-17
I also copied part of the original news post there, as it briefly
explains to be expected *perfect* validation logic.

Regards,
Alexander

Am 18.07.2014 12:17, schrieb Karsten Dambekalns:
> Hi.
> 
> On 17.07.2014, at 21:10, Benjamin Robichaud <b.robichaud at gmail.com> wrote:
>> Perhaps I am not using the validation correctly, but from my experience, I noticed serious issues with the whole validation stack in Flow.
> 
> What you describe is certainly an issue. We know that e.g. validation is done “too much” in certain cases and there sure is potential for optimization.
> 
>> I have created yet another Aspect that intercepts the PersistenceManager::validateObject function to resolve that issue: it eliminates the validators for all fields that are not in the changeset for a particular model.
> 
> That all sounds pretty solid. If you could make that a change to Flow and push it to Gerrit for review, I guess it will happily be checked, and might become part of Flow. Would you step up to do this?
> 
> Regards,
> Karsten
> 


More information about the Flow mailing list