On 08.07.2005 20:58, Vadim Gritsenko wrote:
While on the subject of forms validation... I noticed several very
annoying things:
* Field.getValidationError() *does not* simply return validation error:
it has side effects!!! It calls getValue() which can invoke parsing
and validation - depending on state, resulting in weird behavior.
* Field.setValidationError() *does not* simply set validation error:
it *also* has side effects!!! For some reason it changes widget state,
which can results in weird behavior.
Any objections on fixing these violations as well?
+1 Of course no objections for fixing side effects.
Joerg