microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
710 stars 586 forks source link

Code missing on shared project preview #5378

Closed microbit-carlos closed 3 weeks ago

microbit-carlos commented 10 months ago

When visiting this shared project page, the MakeCode preview doesn't show any code: https://makecode.microbit.org/_Mjw1p2JsUUUE https://makecode.microbit.org/53348-04838-45575-63401 image image

But when clicking on "Edit Code" and opening the project in the MakeCode editor, there is code there: image image

makecode.microbit.org version: 6.0.19 Microsoft MakeCode version: 9.0.12 microbit runtime version: v2.2.0-rc6 codal-microbit-v2 runtime version: v0.2.61

abchatra commented 10 months ago

I can reproduce this in the original share page. However if I reshare the same project, issue doesn't exist. Some upgrade rules failing?

riknoll commented 3 weeks ago

this appears to be some sort of exception being thrown while Blockly is rendering. i tried on the beta share page (via localhost) and it worked just fine, so i think this will likely be fixed when we release.

abchatra commented 3 weeks ago

Ok closing