dev@javaserverfaces.java.net

Fix for Bugtraq bug Id 6309710

From: Jayashri Visvanathan <Jayashri.Visvanathan_at_Sun.COM>
Date: Tue, 27 Sep 2005 17:39:04 -0700

M src/com/sun/faces/application/ViewHandlerImpl.java
 Bring down the level of the log message from "WARN" to "FINE"
 to avoid false alarm since mapping for the viewId would not be
available in the portlet
 environment.


Index: src/com/sun/faces/application/ViewHandlerImpl.java
===================================================================
RCS file: /cvs/javaserverfaces-sources/jsf-ri/src/com/sun/faces/application/ViewHandlerImpl.java,v
retrieving revision 1.59
diff -u -r1.59 ViewHandlerImpl.java
--- src/com/sun/faces/application/ViewHandlerImpl.java 26 Aug 2005 15:27:00 -0000 1.59
+++ src/com/sun/faces/application/ViewHandlerImpl.java 28 Sep 2005 00:31:49 -0000
@@ -688,8 +688,8 @@
 
             mapping = getMappingForRequest(servletPath, pathInfo);
             if (mapping == null) {
- if (logger.isLoggable(Level.WARNING)) {
- logger.log(Level.WARNING,
+ if (logger.isLoggable(Level.FINE)) {
+ logger.log(Level.FINE,
                         "jsf.faces_servlet_mapping_cannot_be_determined_error",
                         new Object[]{servletPath});
                 }