History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1366
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: tm_jee
Reporter: Jasper Rosenberg
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
WebWork

FileUploadInterceptor only calls acceptFile on first file

Created: 12/Oct/06 01:27 PM   Updated: 06/Feb/07 01:32 PM
Component/s: Interceptors
Affects Version/s: 2.2.4
Fix Version/s: 2.2.4


 Description  « Hide
if (acceptFile(files[0], contentType[0], inputName, validation, ac.getLocale())) {

should be:

if (acceptFile(files[index], contentType[index], inputName, validation, ac.getLocale())) {

Otherwise, if they are uploading an array of 5 files, we are actually going to just check the first one 5 times.



 All   Comments   Change History      Sort Order:
tm_jee - [12/Oct/06 06:52 PM ]
Fixed. Thanks a lot Jasper.