ether / ep_comments_page

Comments in Etherpad - No Longer Highly Experimental, now highly awesome!
Apache License 2.0
42 stars 48 forks source link

BUG: Error when viewing Pad with comments - sometimes #197

Closed tiblu closed 3 years ago

tiblu commented 3 years ago

Reproduce

Result

SOMETIMES I get an error:

VM110:726 Uncaught TypeError: Cannot read property 'data' of undefined
    at HTMLSpanElement.eval (eval at _compileFunction (require-kernel.js?v=c6e36b0f:226), <anonymous>:726:15)
    at Function.each (ace2_common.js?callback=require.define&v=c6e36b0f:750)
    at jQuery.fn.init.each (ace2_common.js?callback=require.define&v=c6e36b0f:543)
    at EpComments.localizeExistingComments (eval at _compileFunction (require-kernel.js?v=c6e36b0f:226), <anonymous>:713:15)
    at Object.eval (eval at _compileFunction (require-kernel.js?v=c6e36b0f:226), <anonymous>:111:10)
    at Object.trigger (html10n.js?v=c6e36b0f:106)
    at html10n.js?v=c6e36b0f:716
    at html10n.js?v=c6e36b0f:955
    at each (html10n.js?v=c6e36b0f:745)
    at Loader.window.html10n.Loader.load (html10n.js?v=c6e36b0f:1

image

Observations

Causes?

Possible fixes?