I use the following validator (see below) for a password and a password repeated field.
Data is bound to the passwordNew field using a non-buffered FieldGroup.
It happens that sometimes the password obtained from the FieldGroup is null.
This happens randomly and not reproduceably. It works for some time, and later it doesn’t work for some time.
Does somebody have an idea what might cause this problem?
Explanation for my problems above: Only if validation successes the value of the password field is written to the model. => passwordNew and passwordNewRepeated not equal => not written to model => model is null
I also have these problems with a custom DateFromToValidator(validates two DateField and ensures that the TO value is after or equals the FROM value, constructed similar as the password validator above) in nonbuffered mode. If I enter a wrong FROM value and then make it right again adjusting the TO value, than it is not written back to model…