Skip to content

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

@rainer23

Description

@rainer23

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

  • Browser used: Firefox 97.0.1 and Chromium V 98.0.4758.102
  • Operating System and version: Linux Mint 20.3 Una

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions