[Flow] Validation concept is flawed in TYPO3 Flow?

Karsten Dambekalns karsten at typo3.org
Fri Jul 18 12:17:41 CEST 2014


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