Export to GitHub

blockly - issue #262

Uncollapsing duplicated block "Connection already in database" error


Posted on Jan 27, 2015 by Swift Elephant

What steps will reproduce the problem? 1. Blockly > Demos > Code 2. Create a compound block such as an "if" with child nodes. 3. Collapse the block 4. Duplicate the block 5. Uncollapse the duplicate

What is the expected output? What do you see instead?

Uncollapsing the duplicated block should appear the same as the original block before it was collapsed. The uncollapsed duplicate renders strangely and there is a "Connection already in database" error in the JS console. See attached screenshot.

What browser are you using?

OSX Chrome, OSX Safari.

Attachments

Comment #1

Posted on Jan 27, 2015 by Happy Kangaroo

Simplifying steps to just collapsing/duplicating/expanding a text length block with no connected child block.

Comment #2

Posted on Jan 27, 2015 by Happy Kangaroo

Fixed, thanks! The repo and Blockly's demos have been updated. Blockly Games will be updated tomorrow (they have a 5 hour recompile).

Status: Fixed

Labels:
Type-Defect Priority-Critical