typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
194 stars 43 forks source link

Renaming a file in the project browser sometimes erases its contents #799

Open james-whiteside opened 11 months ago

james-whiteside commented 11 months ago

Description

Renaming a file in the project browser sometimes erases its contents. This only occurs rarely so is not easily reproducible. This time, it occurred under the following conditions:

  1. File has contents already written to it.
  2. Autosave is switched off.
  3. File is not open in the query editor.
  4. I rename the file in the project browser UI.
  5. I open the file into the query editor.
  6. The file is empty.
  7. The contents of the file cannot apparently be restored.

Environment

  1. TypeDB distribution: Not connected
  2. TypeDB version: Not connected
  3. Environment: MacOS
  4. Studio version: 2.24.15

Additional information

This is not the same issue as https://github.com/vaticle/typedb-studio/issues/758, but might be related.

james-whiteside commented 2 months ago

Occurred again on version 2.28.4, except this time while autosave was switched on.