xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 7 forks source link

Spinner when trying to edit a diagram #194

Closed silviamacovei closed 2 weeks ago

silviamacovei commented 3 years ago

Some users have reported getting a spinner when trying to edit a diagram using Firefox and Chrome. They tried restarting XWiki and clearing the cache, to no effect.

petrenkonikita112263 commented 1 year ago

App v.1.15.5, and the latest v. 1.17.3 Not only during editing, but also creation of a new one. This is the complete list of errors in console. image

Uncaught Error: Load timeout for modules: draw.io,mxgraph-editor,base64,pako,mxgraph-client,jscolor,sanitizer
https://requirejs.org/docs/errors.html#timeout
    at makeError (require.min.js?r=1:5:1795)
    at R (require.min.js?r=1:5:7823)
    at require.min.js?r=1:5:8239
pako.min.js:1 

       Failed to load resource: the server responded with a status of 404 (Not Found)
sanitizer.min.js:1  

       Failed to load resource: the server responded with a status of 404 (Not Found)
require.min.js?r=1:5 

       Uncaught Error: Script error for "pako", needed by: pako-global
https://requirejs.org/docs/errors.html#scripterror
    at makeError (require.min.js?r=1:5:1795)
    at HTMLScriptElement.onScriptError (require.min.js?r=1:5:17084)
jscolor.min.js:1 

       Failed to load resource: the server responded with a status of 404 (Not Found)
require.min.js?r=1:5 

       Uncaught Error: Script error for "sanitizer"
https://requirejs.org/docs/errors.html#scripterror
    at makeError (require.min.js?r=1:5:1795)
    at HTMLScriptElement.onScriptError (require.min.js?r=1:5:17084)
base64.min.js:1 

     Failed to load resource: the server responded with a status of 404 (Not Found)
require.min.js?r=1:5 

       Uncaught Error: Script error for "jscolor"
https://requirejs.org/docs/errors.html#scripterror
    at makeError (require.min.js?r=1:5:1795)
    at HTMLScriptElement.onScriptError (require.min.js?r=1:5:17084)
require.min.js?r=1:5 

       Uncaught Error: Script error for "base64"
https://requirejs.org/docs/errors.html#scripterror
    at makeError (require.min.js?r=1:5:1795)
    at HTMLScriptElement.onScriptError (require.min.js?r=1:5:17084)
mxClient.bundle.min.js:1 

       Failed to load resource: the server responded with a status of 404 (Not Found)
require.min.js?r=1:5 

       Uncaught Error: Script error for "mxgraph-client"
https://requirejs.org/docs/errors.html#scripterror
    at makeError (require.min.js?r=1:5:1795)
    at HTMLScriptElement.onScriptError (require.min.js?r=1:5:17084)
petrenkonikita112263 commented 1 year ago

I didn't get a spinner in the Docker image xwiki:13.10.11-mysql-tomcat. On Google Chrome and MS Edge, I managed to get the start window. image

petrenkonikita112263 commented 1 year ago

It doesn't reproduce on local instance v13.10 with latest version of app in MS Edge, Google Chrome, and Firefox (see comment)