Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 243C67900 for ; Fri, 9 Dec 2011 17:41:05 +0000 (UTC) Received: (qmail 77841 invoked by uid 500); 9 Dec 2011 17:41:03 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 77771 invoked by uid 500); 9 Dec 2011 17:41:03 -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 77728 invoked by uid 99); 9 Dec 2011 17:41:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 17:41:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 17:41:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5E20A1088D3 for ; Fri, 9 Dec 2011 17:40:40 +0000 (UTC) Date: Fri, 9 Dec 2011 17:40:40 +0000 (UTC) From: "Leonardo Uribe (Created) (JIRA)" To: dev@myfaces.apache.org Message-ID: <1913278953.59103.1323452440387.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MYFACES-3416) Default ValidatorFactory is not stored on application map 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 Default ValidatorFactory is not stored on application map --------------------------------------------------------- Key: MYFACES-3416 URL: https://issues.apache.org/jira/browse/MYFACES-3416 Project: MyFaces Core Issue Type: Bug Components: JSR-314 Reporter: Leonardo Uribe Assignee: Leonardo Uribe There is a typo bug that prevents the default ValidatorFactory to be stored on application map. Additionally, FacesMessageInterpolator uses an strategy that is not the best for performance reasons, because there is a FacesContext.getCurrentInstance() call inside interpolate() method. According to some tests done it is better to create an object and store FacesContext instance there to use it later. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira