myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwald...@apache.org
Subject svn commit: r780162 - in /myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main: java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts
Date Sat, 30 May 2009 02:27:15 GMT
Author: jwaldman
Date: Sat May 30 02:27:15 2009
New Revision: 780162

URL: http://svn.apache.org/viewvc?rev=780162&view=rev
Log:
TRINIDAD-1492 Log error if Application View Cache is on (USE_APPLICATION_VIEW_CACHE is true)
Added a _LOG.severe error in _useApplicationViewCache if it is going to return true.

Modified:
    myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java
    myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts

Modified: myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java?rev=780162&r1=780161&r2=780162&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java
(original)
+++ myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java
Sat May 30 02:27:15 2009
@@ -941,7 +941,10 @@
         _useApplicationViewCache =
           "true".equalsIgnoreCase(s) ? Boolean.TRUE : Boolean.FALSE;
       }
-
+      if (Boolean.TRUE.equals(_useApplicationViewCache))
+      {
+         _LOG.severe("USE_APPLICATION_VIEW_CACHE_UNSUPPORTED");        
+      }
       return _useApplicationViewCache.booleanValue();
     }
 

Modified: myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts?rev=780162&r1=780161&r2=780162&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts
(original)
+++ myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/resource/LoggerBundle.xrts
Sat May 30 02:27:15 2009
@@ -63,6 +63,9 @@
 <!-- CANNOT_FIND_SAVED_VIEW_STATE -->
 <resource key="CANNOT_FIND_SAVED_VIEW_STATE">Could not find saved view state for token
{0}</resource>
 
+<!-- USE_APPLICATION_VIEW_CACHE_UNSUPPORTED -->
+<resource key="USE_APPLICATION_VIEW_CACHE_UNSUPPORTED">USE_APPLICATION_VIEW_CACHE is
unsupported and should not be used since it currently does not work in most cases.</resource>
+
 <!-- NO_STRUCTURE_ROOT_AVAILABLE -->
 <resource key="NO_STRUCTURE_ROOT_AVAILABLE">No structure available and no root available</resource>
 



Mime
View raw message