Ticket #561 (closed Bug: fixed)

Opened 3 months ago

Last modified 1 month ago

upload:: does not work with optional upload fields

Reported by: TigerHawk Assigned to: - No owner -
Priority: minor Milestone: 2.2
Component: Helpers Version: SVN HEAD
Keywords: upload, validation Cc:
SVN Revision (if applicable):

Description

The various validation methods of the upload helper do not consider that an upload may be optional. The current validations all fail if the field is left empty but, there will be cases when an upload will be optional.

Change History

04/17/08 19:52:27 changed by TigerHawk

  • svn_rev deleted.

04/17/08 20:37:17 changed by JAAulde

  • priority changed from critical to minor.

05/28/08 18:23:19 changed by Shadowhand

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from 2.1.2 to 2.2.

This has been fixed in SVN. upload::required will require a file upload array to be present, and upload::valid will require that a file has actually been uploaded.