Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo broken when deleting multiple blocks in a stack #2097

Closed
RoboErikG opened this issue Oct 30, 2018 · 1 comment
Closed

Undo broken when deleting multiple blocks in a stack #2097

RoboErikG opened this issue Oct 30, 2018 · 1 comment

Comments

@RoboErikG
Copy link
Contributor

Problem statement

If you delete a stack of blocks (via delete all for instance) the undo stack ends up in a bad state.

Expected Behavior

Can delete a stack of blocks and then undo it.

Actual Behavior

Can't undo the deletion correctly, just get the first block.

Steps to Reproduce

  1. On develop version of playground, create a stack of blocks
  2. delete all blocks through the right click meno.
  3. Undo

Stack Traces

block_events.js:286 Can't uncreate non-existent block: wmiK%..C4a9ME{sFJN?m
Blockly.Events.Create.run @ block_events.js:286

Replace with error stack trace.

Operating System and Browser

Additional Information

@RoboErikG
Copy link
Contributor Author

Same root cause as #2096

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant