sensebox / ardublockly-1

Visual programming for the new senseBox MCU. Based on blockly, extends Arduino code generation and implements senseBox facilities.
https://blockly.sensebox.de/
Apache License 2.0
9 stars 9 forks source link

Saving blocks and opening them after restart of the browser changes filenames for SD cards #196

Open rainer23 opened 2 years ago

rainer23 commented 2 years ago

Reporting a Bug

I wrote a program which is designed to read the values for temperature an humidity from the HDC1080 sensor and write the data to the 2 files Temp and Humid on the SD card.

grafik

After saving the blocks, restarting the Firefox Browser and reopening the appropriate *.xml file two blocks have changed. In the first block “create file on SD-Card …” the filename has changed from Temp to Temp_2.

grafik

In the second block “Open a file from SD-Card” the filename Humid has changed to Temp.

grafik

In the *.xml file on my PC the filenames don’t have changed, but in the right window of blockly "<> Blocks XML" they did.

Expected Behavior

Saving blocks and opening them after restart of the browser shoud be possible without problems. I detected this problem, when I gave the XML-code to a student and he failed to use it.

Current Behavior

See report above

Possible Solution

I've no solution

Steps to Reproduce (for bugs)

See report above

Or provide the xml File of your Blocky Sketch

Test_Filename.txt Pse, rename the .txt file to .xml, attaching an XML-file to this bug report is not possible.

Context

Your Environment