Description

Zend_Form::addElement is giving it's validators options in a form of array(). But Zend_Validate_GreaterThan does not process array() given as parameter to constructor. It honors Zend_Config instance now only.

Comments

Posted by Tomasz Sterna (smoku) on 2010-01-10T12:39:19.000+0000

Here's a patch that fixes the problem.

Posted by Thomas Weidner (thomas) on 2010-01-10T14:45:23.000+0000

Please give some reproducable informations...

Which release are you refering to?
How did you initialise the validator?

Posted by Thomas Weidner (thomas) on 2010-01-10T14:46:18.000+0000

Seems to duplicate ZF-7153

Posted by Tomasz Sterna (smoku) on 2010-01-10T15:48:48.000+0000

Being unable to reproduce didn't stop you from merging my fix to Zend_Validate_GreaterThan and other Validators in SVN r20182.

You have really bizarre development practices in Zend Framework making me doubt the framework credibility.