Skip to content

xml file is broken and cannot be imported to blockly #1

@GeneralMine

Description

@GeneralMine

Importing the xml file for further development doesn't work correctly, due to the faulty export of blockly.

Before exporting the program to xml:

Case0 Case1
image image

The xml file:

Case 0 Case0 (1) !! Case 1 (2)
image image image
This is correct This should be Case 1! This shouldn't be Case 1!

How to reproduce the problem

  1. Download the xml file of the script here https://github.com/GeneralMine/SenseBox-TestScript#Download
  2. Import the file to blockly: https://blockly.sensebox.de/ardublockly/?board=sensebox-mcu
  3. As you can see the code is broken. Rebuild my code as shown above or seen below in the complete code.
  4. export the code to xml
  5. close blockly or delete all
  6. import the xml file to blockly and then its broken again
  7. (open xml file in an editor and search for CASE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions