myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Schwartz (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2359) ClearRequestExternalContext wrapper applied unnecessarily
Date Mon, 04 Feb 2013 20:34:13 GMT
Andy Schwartz created TRINIDAD-2359:
---------------------------------------

             Summary: ClearRequestExternalContext wrapper applied unnecessarily
                 Key: TRINIDAD-2359
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2359
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 2.0.1-core
            Reporter: Andy Schwartz
            Assignee: Andy Schwartz
            Priority: Minor


GlobalConfiguratorImpl wraps the ExternalContext with a ClearRequestExternalContext if it
detects that Mojarra issue 493 (fixed back in Mojarra 1.2.04) is present.

The Mojarra issue is described here:

http://java.net/jira/browse/JAVASERVERFACES-493 setRequest does not reset request maps

Two problems with this:

1.  This issue was fixed in 2007, so it is unclear whether we should ever bother applying
this workaround.
2.  The code which detects the presence of this Mojarra issue is buggy.

As a result of #2, GlobalConfiguratorImpl always adds a ClearRequestExternalContext wrapper,
regardless of whether the old Mojarra issue is present or not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message