[TYPO3-mvc] Own property-validator not working on edit/update

Peter Niederlag typo3-list at niekom.de
Thu Nov 17 22:04:05 CET 2011


Hello,

Am 16.11.2011 21:03, schrieb Wolfgang Rock:
> Hi list,
> 
> I have a simple validator for one of my model-properties, which works well in the new/create action.
> But in the edit form, the validator is ignored and the object is safed.
> Core-extbase-validators like notEmpty keep working...
> 
> The validator looks like this:
> class Tx_Asbfunk_Domain_Validator_KennzahlValidator extends Tx_Extbase_Validation_Validator_AbstractValidator {

What is the filename and directory where the file is saved?
And/Or enable the validator by an explicit @validate annotation.

add a die() and see if it is excuted at all..

[...]

Greets and hth,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-typo3v4mvc mailing list