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
I have searched for similar issues before opening a new one.
Description
With a (fairly nonsensical) construction of blocks, deleting a variable from the dropdown menu causes an uncaught exception.
Reproduction steps
Create a variable
Drag out and connect the "set <x> to" and "<x>" blocks
From the dropdown in the "set <x> to" block, choose the "Delete the 'x' variable" menu item
Observe the stack trace in the console
Stack trace
Uncaught Error: The block associated with the block move event could not be found
at BlockMove$$module$build$src$core$events$events_block_move.currentLocation_ (events_block_move.ts:202:17)
at new BlockMove$$module$build$src$core$events$events_block_move (events_block_move.ts:93:27)
at RenderedConnection$$module$build$src$core$rendered_connection.disconnectInternal (connection.ts:284:15)
at RenderedConnection$$module$build$src$core$rendered_connection.disconnectInternal (rendered_connection.ts:453:11)
at RenderedConnection$$module$build$src$core$rendered_connection.disconnect (connection.ts:259:10)
at BlockSvg$$module$build$src$core$block_svg.unplugFromRow_ (block.ts:417:29)
at BlockSvg$$module$build$src$core$block_svg.unplug (block.ts:398:12)
at BlockSvg$$module$build$src$core$block_svg.dispose (block.ts:332:10)
at BlockSvg$$module$build$src$core$block_svg.dispose (block_svg.ts:753:11)
at VariableMap$$module$build$src$core$variable_map.deleteVariableInternal (variable_map.ts:307:17)Understand this error
Screenshots
Browsers
No response
The text was updated successfully, but these errors were encountered:
Check for duplicates
Description
With a (fairly nonsensical) construction of blocks, deleting a variable from the dropdown menu causes an uncaught exception.
Reproduction steps
Stack trace
Screenshots
Browsers
No response
The text was updated successfully, but these errors were encountered: