yuuchilyann / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Uncollapsing duplicated block "Connection already in database" error #262

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by david.ni...@gmail.com on 27 Jan 2015 at 7:23

Attachments:

GoogleCodeExporter commented 8 years ago
Simplifying steps to just collapsing/duplicating/expanding a text length block 
with no connected child block.

Original comment by neil.fra...@gmail.com on 27 Jan 2015 at 7:51

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

Original comment by neil.fra...@gmail.com on 27 Jan 2015 at 8:55