Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 16526 invoked from network); 1 Jul 2010 17:11:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jul 2010 17:11:45 -0000 Received: (qmail 88450 invoked by uid 500); 1 Jul 2010 17:11:45 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 88381 invoked by uid 500); 1 Jul 2010 17:11:44 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 88374 invoked by uid 99); 1 Jul 2010 17:11:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 17:11:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 17:11:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o61H3oLx029813 for ; Thu, 1 Jul 2010 17:03:50 GMT Message-ID: <23535250.157081278003830058.JavaMail.jira@thor> Date: Thu, 1 Jul 2010 13:03:50 -0400 (EDT) From: "Prakash Udupa N (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (TRINIDAD-1843) Need to feedback failures for users when a file processor in chain fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Need to feedback failures for users when a file processor in chain fails ------------------------------------------------------------------------ Key: TRINIDAD-1843 URL: https://issues.apache.org/jira/browse/TRINIDAD-1843 Project: MyFaces Trinidad Issue Type: Improvement Components: Components Affects Versions: 2.0.0.3-core Reporter: Prakash Udupa N Through JIRA 1757 (https://issues.apache.org/jira/browse/TRINIDAD-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.