typedb / typedb-studio

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

File Content Loss on Move in TypeDB Studio for Large Files #819

Open raven44099 opened 7 months ago

raven44099 commented 7 months ago

Description

Moving a file deletes its content if the file is too large (e.g. 36kB).

Environment

  1. TypeDB distribution: Core
  2. TypeDB version: typedb-all-linux-2.22.0
  3. Environment: Linux \t(Oracle Virtual Machine on Windows)
  4. Studio version: typedb-studio-linux-2.21.2
  5. Other details: -

Reproducible Steps

  1. Set up
  1. Execute

  2. Test/Query Do not open the file in typedb studio UI. Intuitively move a file larger than 36kB using typedb studio UI.

    • (Rightclick on file, select move. chose a subdirectory. Press save. Open it in tyepdb studio or text editor)
  3. Unexpected result

The error is that the File is empty.