Skip to content

text_charat mutator is unable to load generator tests. #1444

Description

@AnmAtAnm

Problem statement

Bug in generator tests:
Blockly.Constants.Text.TEXT_CHARAT_MUTATOR_MIXIN.mutationToDom(..) fails to load tests/generators/text.xml.

Actual Behavior

Steps to Reproduce

  1. Load the latest version of the text.xml or colour.xml into the test harness.

Stack Traces

index.html:145 TypeError: Cannot read property 'type' of null
    at Blockly.BlockSvg.mutationToDom (text.js:809)
    at Object.Blockly.Xml.blockToDom (xml.js:103)
    at Object.Blockly.Xml.blockToDom (xml.js:162)
    at Object.Blockly.Xml.blockToDom (xml.js:193)
    at Object.Blockly.Xml.blockToDom (xml.js:162)
    at Object.Blockly.Xml.blockToDomWithXY (xml.js:81)
    at new Blockly.Events.Create (events.js:465)
    at Object.Blockly.Xml.domToBlock (xml.js:482)
    at Object.Blockly.Xml.domToWorkspace (xml.js:345)
    at fromXml (index.html:139)

Operating System and Browser

Tested in...

  • Desktop Chrome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions