Issue Type: Bug Created: 2010-01-26T12:20:43.000+0000 Last Updated: 2010-01-26T12:38:39.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)
Reporter: Sol Han (sol) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate_File
Related issues: - ZF-8598
Forms no longer display "Is not an Image" warnings because IsImage validator was changed in 1.9.3. Validation function was moved from the IsImage class to the MimeType class where other constant-values are used for the message-array-reference.
Changing the consts to the following in the IsImage class solves the problem: const FALSE_TYPE = 'fileMimeTypeFalse'; const NOT_DETECTED = 'fileMimeTypeNotDetected'; const NOT_READABLE = 'fileMimeTypeNotReadable';
One alternative would be to change the const-context when called from subclass.
Posted by Thomas Weidner (thomas) on 2010-01-26T12:38:39.000+0000
Closing as duplicate
Have you found an issue?
See the Overview section for more details.