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

broken when rename arguments of function #2110

Closed
duzc2 opened this issue Nov 7, 2018 · 1 comment
Closed

broken when rename arguments of function #2110

duzc2 opened this issue Nov 7, 2018 · 1 comment

Comments

@duzc2
Copy link
Contributor

duzc2 commented Nov 7, 2018

Problem statement

when rename and delete all litters of a argument name in function with Input Method, blockly broken.

_20181108032648
_20181108033038

Expected Behavior

no error

Actual Behavior

_20181108032140

Steps to Reproduce

  1. Start by create a function with arguments
  2. Next, rename a argument name to empty

Stack Traces

Uncaught TypeError: Cannot read property 'name' of null
    at Blockly.BlockSvg.mutationToDom (blocks_compressed.js:92)
    at Blockly.Mutator.workspaceChanged_ (blockly_compressed.js:1321)
    at Blockly.WorkspaceSvg.Blockly.Workspace.fireChangeListener (blockly_compressed.js:953)
    at Blockly.Events.fireNow_ (blockly_compressed.js:901)

Operating System and Browser

Desktop Chrome

Additional Information

@RoboErikG
Copy link
Contributor

Thanks for filing! This is a duplicate of #1958

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

2 participants