
| Key: |
WW-1249
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Don Brown
|
| Reporter: |
tm_jee
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
WebWork
Created: 17/Mar/06 12:02 PM
Updated: 17/Mar/06 10:03 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
2.2.2
|
|
|
FileUploadInterceptor not using internationalized error message, in acceptFile(...) method when File is null, it should use webwork.messages.error.uploading, as listed in javadoc.
validation.addFieldError(inputName, "Could not upload file");
should, i guess, instead be,
validation.addFieldError(inputName,
getTextMessage("webwork.messages.error.uploading",
new Object[] { "Could not upload file with input name ["+inputName+"]" },
locale));
|
|
Description
|
FileUploadInterceptor not using internationalized error message, in acceptFile(...) method when File is null, it should use webwork.messages.error.uploading, as listed in javadoc.
validation.addFieldError(inputName, "Could not upload file");
should, i guess, instead be,
validation.addFieldError(inputName,
getTextMessage("webwork.messages.error.uploading",
new Object[] { "Could not upload file with input name ["+inputName+"]" },
locale)); |
Show » |
|
Should we list the field name in the default text also?
"Could not upload file with input name ["+inputName+"]"
could just be
"Could not upload file"