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

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

Open
GeneralMine opened this issue May 1, 2021 · 1 comment
Open

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

GeneralMine opened this issue May 1, 2021 · 1 comment

Comments

@GeneralMine
Copy link
Owner

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)
@GeneralMine
Copy link
Owner Author

posted this issue in the sensebox forum: https://forum.sensebox.de/t/blockly-export-fehlerhaft-bei-switch-case/1310

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