Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

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

Open
bencellis opened this issue Aug 30, 2019 · 3 comments
Open

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

bencellis opened this issue Aug 30, 2019 · 3 comments

Comments

@bencellis
Copy link

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 bencellis changed the title Bundle.js error - Bundle.js error - In chome/firefox on Ubuntu 18.04 Aug 30, 2019
@hermandpessek
Copy link

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

regards,

@bencellis
Copy link
Author

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
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants