myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prakash Udupa N (JIRA)" <>
Subject [jira] Created: (TRINIDAD-1843) Need to feedback failures for users when a file processor in chain fails
Date Thu, 01 Jul 2010 17:03:50 GMT
Need to feedback failures for users when a file processor in chain fails

                 Key: TRINIDAD-1843
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions:
            Reporter: Prakash Udupa N

Through JIRA 1757 (, we supported chaining
of uploaded file processors.

There are two means for file upload processors to convey failures.
1. UploadedFileProcessor.processFile() implementations can throw IOException.
2. UploadedFile.getOpaqueData() implementation can convey more information about error.

Example of failures could be no space in disk, unacceptable end of line markers, virus etc.
Some of these failures need to be notified to users, and currently there is no good mechanism
to show this to end users. We log #1, and we do not interpret #2. The File upload happens
before the JSF lifecycle kicks in, so we cannot raise faces exceptions or use faces message.

This JIRA issue is to track providing some means for the uploaded file processors to be able
to propagate failure message to end users.

I'm working on a solution and will provide patch soon.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message