Opening dashboard in code.onedev.io or 11.8.5 raises JavaScript error in Chrome (OD-2360)
daniel-developer opened 9 months ago

Opening https://code.onedev.io/ or my local instance results in this error. The UI is not usable. As a click does not open a menu. There are no problems using the safari browser.

bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3698 Uncaught ReferenceError: flatpickr is not defined
    at bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3698:1
(anonymous) @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3698Understand this errorAI
bundle-ver-60C1669876EC9B992C853C9EAA1F6C01.js:12269 Uncaught TypeError: Cannot read properties of undefined (reading 'server')
    at bundle-ver-60C1669876EC9B992C853C9EAA1F6C01.js:12269:8
(anonymous) @ bundle-ver-60C1669876EC9B992C853C9EAA1F6C01.js:12269Understand this errorAI
bundle-ver-F2D69421E8403668373173F1E2EC2E62.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'server')
    at bundle-ver-F2D69421E8403668373173F1E2EC2E62.js:2:8
(anonymous) @ bundle-ver-F2D69421E8403668373173F1E2EC2E62.js:2Understand this errorAI
dashboard-ver-A9CD2FAA85DB603D5014A1ED8C8D9498.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'server')
    at dashboard-ver-A9CD2FAA85DB603D5014A1ED8C8D9498.js:1:8
(anonymous) @ dashboard-ver-A9CD2FAA85DB603D5014A1ED8C8D9498.js:1Understand this errorAI
(index):1207 Uncaught TypeError: Cannot read properties of undefined (reading 'server')
    at HTMLImageElement.onload ((index):1207:336)
onload @ (index):1207Understand this errorAI
bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696 jQuery.Deferred exception: Cannot read properties of undefined (reading 'server') TypeError: Cannot read properties of undefined (reading 'server')
    at HTMLDocument.<anonymous> (https://code.onedev.io/:32:8)
    at e (https://code.onedev.io/wicket/resource/org.apache.wicket.application/a/l/o/n/g/p/a/t/h/bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30005)
    at t (https://code.onedev.io/wicket/resource/org.apache.wicket.application/a/l/o/n/g/p/a/t/h/bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30307) undefined
S.Deferred.exceptionHook @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
t @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
setTimeout
(anonymous) @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
c @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
fireWith @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
fire @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
c @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
fireWith @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
ready @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
B @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696Understand this warningAI
bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696 Uncaught TypeError: Cannot read properties of undefined (reading 'server')
    at HTMLDocument.<anonymous> ((index):32:8)
    at e (bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30005)
    at t (bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30307)
(anonymous) @ (index):32
e @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
t @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
setTimeout
(anonymous) @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
c @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
fireWith @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
fire @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
c @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
fireWith @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
ready @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
B @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696Understand this errorAI
bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696 jQuery.Deferred exception: Cannot read properties of undefined (reading 'server') TypeError: Cannot read properties of undefined (reading 'server')
    at HTMLDocument.<anonymous> (https://code.onedev.io/:1041:8)
    at e (https://code.onedev.io/wicket/resource/org.apache.wicket.application/a/l/o/n/g/p/a/t/h/bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30005)
    at t (https://code.onedev.io/wicket/resource/org.apache.wicket.application/a/l/o/n/g/p/a/t/h/bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30307) undefined
S.Deferred.exceptionHook @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
t @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
setTimeout
(anonymous) @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
c @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
add @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
(anonymous) @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
Deferred @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
then @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
S.fn.ready @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
S.fn.init @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
S @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
(anonymous) @ wicket-event-jquery-ver-C3754B973B77810139CEB050DAFE9A6A.js:1
dispatch @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
v.handle @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696Understand this warningAI
bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696 Uncaught TypeError: Cannot read properties of undefined (reading 'server')
    at HTMLDocument.<anonymous> ((index):1041:8)
    at e (bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30005)
    at t (bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696:30307)
(anonymous) @ (index):1041
e @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
t @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
setTimeout
(anonymous) @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
c @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
add @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
(anonymous) @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
Deferred @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
then @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
S.fn.ready @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
S.fn.init @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
S @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
(anonymous) @ wicket-event-jquery-ver-C3754B973B77810139CEB050DAFE9A6A.js:1
dispatch @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696
v.handle @ bundle-ver-0A5942DF95788751D9E78E106BED34EF.js:3696Understand this errorAI

image.png

  • Robin Shen commented 9 months ago

    Tested on several browsers and machines and it works fine at my side. Please clean do a hard refresh (ctrl-f5), or clean the browser cache to see if it works.

  • OneDev commented 9 months ago

    State changed as code fixing the issue is committed (f843b904)

  • OneDev changed state to 'Closed' 9 months ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 9 months ago

    State changed as build OD-6117 is successful

  • OneDev changed state to 'Released' 9 months ago
    Previous Value Current Value
    Closed
    Released
  • daniel-developer commented 9 months ago

    @robin Awesome. Thanks a lot. Sorry for being unresponsive throughout the day. I was away from home.

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
11.8.x
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2360
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover