Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 38612 invoked from network); 22 Jun 2010 02:20:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Jun 2010 02:20:23 -0000 Received: (qmail 10809 invoked by uid 500); 22 Jun 2010 02:20:23 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 10617 invoked by uid 500); 22 Jun 2010 02:20:22 -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 10424 invoked by uid 99); 22 Jun 2010 02:20:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 02:20:22 +0000 X-ASF-Spam-Status: No, hits=-1645.7 required=10.0 tests=ALL_TRUSTED,AWL 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; Tue, 22 Jun 2010 02:20:21 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5M2K1Tn009270 for ; Tue, 22 Jun 2010 02:20:01 GMT Message-ID: <25415036.3351277173201666.JavaMail.jira@thor> Date: Mon, 21 Jun 2010 22:20:01 -0400 (EDT) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Reopened: (MYFACES-2730) FacesContext not available on application startup In-Reply-To: <323609.20741274454616491.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe reopened MYFACES-2730: ------------------------------------- I have to revert this patch because it is causing another problems (see MYFACES-2766). MyFacesServlet was not updated too, so it is necessary to work more on this issue. It is a very bad idea delete classes on myfaces core, or in any project in general, even if they are not used. One example is myfaces 1.2.x portlet stuff. Those classes does not work, because that was replaced by portlet bridge project, but to prevent break the code and lose the svn history of those classes, we just removed when 2.0.x branch was created. When _SystemEventServletRequest and _SystemEventServletResponse classes were deleted, we lost all svn history about them (we have to look at 2.0.0 branch to see that). In issues that requires some change/replace on already stable functionality, it is better to create patches and do not commit at all, so other people can take a look at the proposed solution and comment about it. > FacesContext not available on application startup > ------------------------------------------------- > > Key: MYFACES-2730 > URL: https://issues.apache.org/jira/browse/MYFACES-2730 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-127, JSR-252, JSR-314 > Affects Versions: 1.1.8, 1.2.9, 2.0.0 > Reporter: Nick Belaevski > Assignee: Jakob Korherr > Fix For: 2.0.2-SNAPSHOT > > > If custom ResourceHandler calls FacesContext.getCurrentInstance() in constructor to read init parameters, null value is returned. This affects latest MyFaces 2.0.0-SNAPSHOT. Mojarra 2.0 provides InitFacesContext in this case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.