Selaa lähdekoodia

12.5.8 release

Gaudenz Alder 5 vuotta sitten
vanhempi
commit
f4064202d4

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+25-JAN-2020: 12.5.8
+
+- Fixes possible NPE in OneDrive client
+
 25-JAN-2020: 12.5.7
 
 - Fixes access to OneDrive Sharepoint folders

+ 1 - 1
VERSION

@@ -1 +1 @@
-12.5.7
+12.5.8

+ 1 - 1
src/main/webapp/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 01/25/2020 09:34 AM
+# 01/25/2020 02:23 PM
 
 app.html
 index.html?offline=1

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 2 - 2
src/main/webapp/js/app.min.js


+ 1 - 1
src/main/webapp/js/diagramly/OneDriveClient.js

@@ -11,7 +11,7 @@ OneDriveClient = function(editorUi)
 	if (authInfo != null)
 	{
 		this.token = authInfo.access_token;
-		this.endpointHint = authInfo.endpointHint.replace('/Documents', '/_layouts/15/onedrive.aspx');
+		this.endpointHint = authInfo.endpointHint != null ? authInfo.endpointHint.replace('/Documents', '/_layouts/15/onedrive.aspx') : authInfo.endpointHint;
 		this.tokenExpiresOn = authInfo.expiresOn;
 		
 		var remainingTime = (this.tokenExpiresOn - Date.now()) / 1000;

+ 1 - 1
src/main/webapp/service-worker.js

@@ -6,7 +6,7 @@ if (workbox)
 	workbox.precaching.precacheAndRoute([
   {
     "url": "js/app.min.js",
-    "revision": "16711c059dd55b147d3591acdcb4f85d"
+    "revision": "5103bd911be2b60033d1c05b5a023ad0"
   },
   {
     "url": "index.html",