Make it easier to debug viewExpiredExceptions
---------------------------------------------

                 Key: TRINIDAD-2131
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2131
             Project: MyFaces Trinidad
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Gabrielle Crawford
            Assignee: Gabrielle Crawford
            Priority: Trivial


ViewExpiredExceptions are fairly common, and the token cache is used for page 
state tokens, but the tokens aren't really human readable. In order to make it 
easier to understand what is in the cache we've added a system property for 
debugging purposes. When enabled we store a map of token -> viewId on the 
session which we use to log something more human readable.

In order to use this the tester would set the system property to:
-Dorg.apache.myfaces.trinidadinternal.DEBUG_TOKEN_CACHE=true

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to