[java-identity-provider] branch master updated: IDP-1316 - Cannot remove values on LocalStorage

Scott Cantor cantor.2 at osu.edu
Thu Aug 30 17:02:41 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=28f5db68ab833155f1959b1ad500e5f455ba59b0

The following commit(s) were added to refs/heads/master by this push:
       new  28f5db6   IDP-1316 - Cannot remove values on LocalStorage
28f5db6 is described below

commit 28f5db68ab833155f1959b1ad500e5f455ba59b0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 30 17:02:39 2018 -0400

    IDP-1316 - Cannot remove values on LocalStorage
    
    https://issues.shibboleth.net/jira/browse/IDP-1316
---
 idp-conf/src/main/resources/system/views/client-storage/write.vm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/idp-conf/src/main/resources/system/views/client-storage/write.vm b/idp-conf/src/main/resources/system/views/client-storage/write.vm
index ce6aa09..a957543 100644
--- a/idp-conf/src/main/resources/system/views/client-storage/write.vm
+++ b/idp-conf/src/main/resources/system/views/client-storage/write.vm
@@ -31,7 +31,11 @@
 <!--
 function doSave() {
     #foreach ($op in $saveContext.getStorageOperations())
-        writeLocalStorage("$op.getKey()", "$op.getValue()");
+        #if ($op.getValue())
+            writeLocalStorage("$op.getKey()", "$op.getValue()");
+        #else
+            writeLocalStorage("$op.getKey()", null);
+        #end
     #end
     document.form1.submit();
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list