[ 
https://issues.apache.org/jira/browse/TRINIDAD-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004243#comment-13004243
 ] 

Scott O'Bryan commented on TRINIDAD-2054:
-----------------------------------------

I don't know if I understand this patch.  It looks like you are adding two 
faces messages when the fileUpload fails..  Is this true?

That said, I'm not sure I'm comfortable with using the base message.  I'd have 
to take a look at what gets added as the message when it is thrown but we don't 
want to expose anything that may be considered a security risk.  Further, it 
seems we would want to utilize a localized message as well.

> Messages from exceptions in tr:fileDownloadActionListener are not displayed
> ---------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2054
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2054
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-beta-2
>         Environment: x86
>            Reporter: Kentaro Kinebuchi
>            Priority: Minor
>         Attachments: JIRA2054.patch
>
>
> When the bean method referenced by tr:fileDownloadActionListener throws an 
> exception, what is displayed to the user is always a generic message "The 
> file was not downloaded or was not downloaded correctly.". The exception 
> message itself is not displayed which makes it very hard for the user to know 
> what actually went wrong.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to