You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by rk...@apache.org on 2013/02/27 00:47:08 UTC

svn commit: r1450535 - in /oozie/trunk: release-log.txt webapp/src/main/webapp/oozie-console.js

Author: rkanter
Date: Tue Feb 26 23:47:07 2013
New Revision: 1450535

URL: http://svn.apache.org/r1450535
Log:
OOZIE-1219 The timezone cookie should never expire (rkanter)

Modified:
    oozie/trunk/release-log.txt
    oozie/trunk/webapp/src/main/webapp/oozie-console.js

Modified: oozie/trunk/release-log.txt
URL: http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1450535&r1=1450534&r2=1450535&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Tue Feb 26 23:47:07 2013
@@ -55,6 +55,7 @@ OOZIE-944 Implement Workflow Generator U
 
 -- Oozie 3.3.2 (unreleased)
 
+OOZIE-1219 The timezone cookie should never expire (rkanter)
 OOZIE-1220 Make the login example cookie expire (rkanter)
 OOZIE-1227 In a coordinator, specifying the <app-path> without a namenode causes it to fail (rkanter)
 OOZIE-1226 Workflow lib path not found in classpath for a subworkflow (rkanter)

Modified: oozie/trunk/webapp/src/main/webapp/oozie-console.js
URL: http://svn.apache.org/viewvc/oozie/trunk/webapp/src/main/webapp/oozie-console.js?rev=1450535&r1=1450534&r2=1450535&view=diff
==============================================================================
--- oozie/trunk/webapp/src/main/webapp/oozie-console.js (original)
+++ oozie/trunk/webapp/src/main/webapp/oozie-console.js Tue Feb 26 23:47:07 2013
@@ -2163,7 +2163,9 @@ function initConsole() {
             listeners:
             { select: { fn:function(combo, value)
                 {
-                    Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
+                    Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
+                        expires: new Date(new Date().getTime()+315569259747) // about 10 years from now!
+                    }));
                     Ext.state.Manager.set("TimezoneId",this.value);
                 }
             }}