Issues

ZF-5051: Several methods have to be reimplemented in the file element to prevent unintentional uploading

Issue Type: Bug Created: 2008-11-24T11:53:19.000+0000 Last Updated: 2008-12-21T06:07:16.000+0000 Status: Resolved Fix version(s): - 1.7.1 (01/Dec/08)

Reporter: Thomas Weidner (thomas) Assignee: Thomas Weidner (thomas) Tags: - Zend_Form

Related issues: Attachments:

Description

Several methods in the parent element class make use of getValue().

As this method was implemented into the file element to allow simpler uploading, all other methods which make use of getValue within the parent class have to be implemented or overwritten in the file element.

Otherwise the file would be uploaded when it's not wished.

The following classes make use of getValue(): _getErrorMessages markAsError addError

Comments

Posted by Thomas Weidner (thomas) on 2008-11-28T11:56:40.000+0000

Fixed with r12939

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts