ONLYOFFICE / onlyoffice-humhub

Plugin for integrating ONLYOFFICE online editors with HumHub
GNU Affero General Public License v3.0
11 stars 9 forks source link

Menus don't work until page reload following closing OpenOffice document #112

Open WizWareTech opened 1 year ago

WizWareTech commented 1 year ago

HumHub 1.15.0 OO Module 3.1.0

To reproduce: Open a document for viewing or editing, then close window. Now try to click on menu items (for instance, My Spaces, Dashboard, etc). Nothing happens.

Here is what console shows as soon as you click on a menu item:

humhub-app.js?v=1699652535:1 Uncaught RangeError: Maximum call stack size exceeded
    at String.replace (<anonymous>)
    at O (humhub-app.js?v=1699652535:1:29411)
    at ue.get (humhub-app.js?v=1699652535:1:29920)
    at Me (humhub-app.js?v=1699652535:1:37161)
    at HTMLDivElement.trigger (humhub-app.js?v=1699652535:1:42904)
    at Object.trigger (humhub-app.js?v=1699652535:1:68837)
    at HTMLDivElement.<anonymous> (humhub-app.js?v=1699652535:1:69776)
    at Function.each (humhub-app.js?v=1699652535:1:3068)
    at C.fn.init.each (humhub-app.js?v=1699652535:1:1566)
    at C.fn.init.trigger (humhub-app.js?v=1699652535:1:69752)
    at C.fn.<computed> [as focus] (humhub-app.js?v=1699652535:1:85383)
    at HTMLDocument.<anonymous> (humhub-app.js?v=1699652535:1:546074)
    at HTMLDocument.dispatch (humhub-app.js?v=1699652535:1:39531)
    at f.handle (humhub-app.js?v=1699652535:1:37528)
    at Object.trigger (humhub-app.js?v=1699652535:1:69183)
    at HTMLDivElement.<anonymous> (humhub-app.js?v=1699652535:1:69776)
O @ humhub-app.js?v=1699652535:1
get @ humhub-app.js?v=1699652535:1
Me @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
dispatch @ humhub-app.js?v=1699652535:1
f.handle @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
(anonymous) @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
each @ humhub-app.js?v=1699652535:1
trigger @ humhub-app.js?v=1699652535:1
C.fn.<computed> @ humhub-app.js?v=1699652535:1
humhub-app.js?v=1699652535:1 Uncaught RangeError: Maximum call stack size exceeded
    at String.replace (<anonymous>)
    at Function.P [as find] (humhub-app.js?v=1699652535:1:7420)
    at HTMLDocument.handlers (humhub-app.js?v=1699652535:1:39993)
    at HTMLDocument.dispatch (humhub-app.js?v=1699652535:1:39225)
    at f.handle (humhub-app.js?v=1699652535:1:37528)
    at Object.trigger (humhub-app.js?v=1699652535:1:69183)
    at HTMLDivElement.<anonymous> (humhub-app.js?v=1699652535:1:69776)
    at Function.each (humhub-app.js?v=1699652535:1:3068)
    at C.fn.init.each (humhub-app.js?v=1699652535:1:1566)
    at C.fn.init.trigger (humhub-app.js?v=1699652535:1:69752)
    at C.fn.<computed> [as focus] (humhub-app.js?v=1699652535:1:85383)
    at HTMLDocument.<anonymous> (humhub-app.js?v=1699652535:1:546074)
    at HTMLDocument.dispatch (humhub-app.js?v=1699652535:1:39531)
    at f.handle (humhub-app.js?v=1699652535:1:37528)
    at Object.trigger (humhub-app.js?v=1699652535:1:69183)
    at HTMLDivElement.<anonymous> (humhub-app.js?v=1699652535:1:69776)

After refresh of page, menu items work fine. This was not an issue prior to upgrading to 3.1.0.

lonesomewalker commented 1 month ago

Seems nobody cares. So another reason to NOT buy the enterprise stuff :-)