Skip to content

block.dispose(/*healStack*/ true) should not attempt to heal shadow block connections #2227

@kushal4

Description

@kushal4

Problem statement

Go to https://blockly-demo.appspot.com/static/demos/code/index.html.
Then bring the setter block

setter_block_1
setter_variable_2
setter_variable_3

Expected Behavior

The setter block shouldnt have the shadow block attached after the math block is delete

Actual Behavior

the setter block contains shadow block after math block is deleted

Steps to Reproduce

  1. Go to https://blockly-demo.appspot.com/static/demos/code/index.html.
    2.Create a variable.
    3.Bring the setter variable block to the workspace.
    4.Connect a math block to the setter block containing shadow block.
    5.Delete this math block.

Operating System and Browser

Chrome Desktop

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugDescribes why the code or behaviour is wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions