DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39546>.
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=39546

           Summary: In some cases a filter not invoked on 'include'
           Product: Tomcat 5
           Version: 5.5.16
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


In my application, Webmill jsr-168 portal, if I use JSF/MyFaces filters, 
configured in web.xml not invoked.

Investigate this bug, I found what in 
org.apache.catalina.core.ApplicationDispatcher

after prepare include, we call
            invoke(outerRequest, outerResponse);  // line 574
corrert call
            invoke(wrequest, outerResponse);  

After this patch all filters correctly invoked.

Filters not invoked due to we set dispatcher type in wreqeust object, not in 
outerRequest:
            wrequest.setAttribute(ApplicationFilterFactory.DISPATCHER_TYPE_ATTR,
                                             new Integer
(ApplicationFilterFactory.INCLUDE)); // line 571,572

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to