Mentoring: Switching iterations breaks code view

Code highlighting and line numbers disapear after switching iterations. No idea when it started. Just saw it today.

2 Likes

CC @dem4ron

1 Like

This is still occurring.

Could we get an example solution (and ideally some sort of screencapture so we can see clearly what’s happening). Also are there any errors in the JS console

(@dem4ron One for you pls)

image

Just select another iteration and it looks like this. No error in the console.

It also happens on Light Mode, and it does not happen always.

For me, only the initial code view is ok. After switching it’s always broken.

My console looks like this. I have no idea what to look for.

delivery.js:33 [Report Only] Refused to connect to 'https://sessions.bugsnag.com/' because it violates the following Content Security Policy directive: "connect-src 'self' ws://exercism.org https://cdn.jsdelivr.net".

sendSession @ delivery.js:33
sessions.bugsnag.com/:1     Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
delivery.js:33 [Report Only] Refused to connect to 'https://sessions.bugsnag.com/' because it violates the following Content Security Policy directive: "connect-src 'self' ws://exercism.org https://cdn.jsdelivr.net".

sendSession @ delivery.js:33
sessions.bugsnag.com/:1     Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
m.stripe.com/6:1     Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

Sat down to record this issue with a Replay.io session, but I haven’t been able to replicate the behavior today. :crossed_fingers:

Well, today for the first time, it works for me again. :thinking: I’m using the latest MS Edge on Windows. Default is blocking all trackers. Just permitted this for Exercism. Could it be that the relevant JS code will not be executed when trackers have problems?

No, we just fixed it :slight_smile:

(We being @dem4ron :))

2 Likes