You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are able to reproduce an error in blockly (though it takes some doing):
Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at ep.setParent (main.js:7:430579)
at qh.disconnectInternal (main.js:7:321663)
at qh.disconnectInternal (main.js:7:421838)
at qh.disconnect (main.js:7:321145)
at ep.unplugFromStack_ (main.js:7:329043)
at ep.unplug (main.js:7:328277)
at r.hideInsertionMarker (main.js:7:495682)
at r.hidePreview (main.js:7:495336)
at r.hidePreview (main.js:1:400241)
at r.previewConnection (main.js:7:493686)
Now, our goal is to reverse the order of the fill rectangle and draw rectangle blocks just using block drag, so that the draw comes before the fill.
First, we drag the fill rectangle block (and all it successors) out, so they are grey.
Next we drag the fill circle block down. Notice that if we don't drag it far enough, it clicks back into the fill rectangle block
Now we can drag the draw rectangle block above the fill rectangle; do this and swap back and forth. do this while the blocks are disconnected from on start
Now drag the connected pair back to on start. Very often the crash will happen when the pair of grey blocks is over on start (before being inserted).
The text was updated successfully, but these errors were encountered:
We are able to reproduce an error in blockly (though it takes some doing):
1.Open the program https://makecode.microbit.org/S15045-66568-68684-19044 in https://makecode.microbit.org/beta. It looks like this![Image](https://private-user-images.githubusercontent.com/10767146/403605320-bc68804a-a127-429c-aa73-e9d5c5559d38.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NTY4NDIsIm5iZiI6MTczODg1NjU0MiwicGF0aCI6Ii8xMDc2NzE0Ni80MDM2MDUzMjAtYmM2ODgwNGEtYTEyNy00MjljLWFhNzMtZTlkNWM1NTU5ZDM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDE1NDIyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM4YjNlNTc0MGIyNDJjZjJlNzA3YWJiZjQ0M2MzZjEwYTA0Mjg5MGZkZTZjZTE5MDU3YTc5YTJiZDNjZTBjN2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KkNlda4F_b0QC0_yT2hUjVQ31iY12gPrrcf9DpAddm0)
Now, our goal is to reverse the order of the
fill rectangle
anddraw rectangle
blocks just using block drag, so that the draw comes before the fill.First, we drag the
fill rectangle
block (and all it successors) out, so they are grey.Next we drag the
fill circle block
down. Notice that if we don't drag it far enough, it clicks back into thefill rectangle
blockNow we can drag the
draw rectangle
block above thefill rectangle
; do this and swap back and forth. do this while the blocks are disconnected fromon start
Now drag the connected pair back to
on start
. Very often the crash will happen when the pair of grey blocks is over on start (before being inserted).The text was updated successfully, but these errors were encountered: