Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 38980 invoked from network); 6 Jun 2005 07:41:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2005 07:41:01 -0000 Received: (qmail 4748 invoked by uid 500); 6 Jun 2005 07:40:56 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 4714 invoked by uid 500); 6 Jun 2005 07:40:56 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 4694 invoked by uid 99); 6 Jun 2005 07:40:55 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 00:40:50 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id C1C97181; Mon, 6 Jun 2005 09:39:49 +0200 (CEST) From: bugzilla@apache.org To: dev@struts.apache.org Subject: DO NOT REPLY [Bug 35232] New: - ErrorsRenderer assumes ActionErrors X-Bugzilla-Reason: AssignedTo Message-Id: <20050606073949.C1C97181@ajax.apache.org> Date: Mon, 6 Jun 2005 09:39:49 +0200 (CEST) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35232 Summary: ErrorsRenderer assumes ActionErrors Product: Struts Version: 1.2.4 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Struts-Faces Library AssignedTo: dev@struts.apache.org ReportedBy: e.papegaaij@emaxx.nl The renderer for the tag assumes that ActionErrors is used, not ActionMessages. This will result in a ClassCastException when the following code is used in the Action: ActionMessages errors = getErrors(request); errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("prompt.exception")); saveErrors(request, errors); The attached patch changes ActionErrors to ActionMessages. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org