Docker-CODE icon indicating copy to clipboard operation
Docker-CODE copied to clipboard

Bundle.js error - In chome/firefox on Ubuntu 18.04

Open bencellis opened this issue 6 years ago • 3 comments

I have used the latest docker images and even attempted the native CODE package both https and http and the document will not load in the frame. The console messages are:

Chrome

Uncaught TypeError: Cannot set property 'permission' of undefined at NewClass.connect (bundle.js:41) at NewClass.loadDocument (bundle.js:42) at bundle.js:63 at bundle.js:63

Firefox

TypeError: map.options.docParams is undefined connect http://share.collabora.local/loleaflet/1e4154c/bundle.js:41 loadDocument http://share.collabora.local/loleaflet/1e4154c/bundle.js:42 http://share.collabora.local/loleaflet/1e4154c/bundle.js:63 http://share.collabora.local/loleaflet/1e4154c/bundle.js:63

Any help much appreciated - I won't get paid for my integration unless I get it working.

Ben

bencellis avatar Aug 30 '19 09:08 bencellis

Hi @bencellis I have the same error on ubuntu 18.04. Any help much appreciated

regards,

hermandpessek avatar Aug 09 '20 21:08 hermandpessek

Hi @hermandpessek ,

Sorry I have tried to find out what fixed this issue for me. I am sure that I found in the source code of my plugin and it involved a commas in the wrong places when making the request to this Docker image.

Ben

bencellis avatar Aug 29 '20 08:08 bencellis

Hi @hermandpessek,

The problem was indeed in my source code and more specifically in the format of the WOPIsrc parameter. Cannot be ,re specific - it was a wihile back.

Hope that helps.

bencellis avatar Sep 05 '20 07:09 bencellis