TypeDB Studio crashes when commiting schema change with errors
cpmlreef opened this issue · 0 comments
Please replace every line in curly brackets { like this } with an appropriate answer, and remove this line.
Description
TypeDB studio crashes and exits when trying to submit a change in the schema, where the schema has some error.
In my case, a used attribute for an entity was not defined as an attribute.
See server log:
11:10:09.397 [typedb-service::0] ERROR com.vaticle.typedb.core.server.TransactionService -- [TYR03] Invalid Type Read: The type 'number_of_doc_files' does not exist.
Environment
- OS (where TypeDB server runs): Windows 10
- TypeDB version (and platform): Server: version: 2.24.17, Studio version 2.24.15
- TypeDB driver: driver-python
- Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Define a schema with some missing attribute to be defined.
- Run
Expected Output
Before, it would show an error statement in the Log within Studio.
Actual Output
Studio crashes and exits. The only way to see what happened is via the log from TypeDB server.
Additional information
{ Any additional information, including logs or screenshots if you have any. }