typedb / typedb-studio

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

Studio crashes on invalid type read during schema write query #805

Closed james-whiteside closed 10 months ago

james-whiteside commented 10 months ago

Description

When running a schema-write query including a reference to an undefined type, Studio crashes instead of throwing TYR03 as Console does.

Environment

  1. TypeDB distribution: Core
  2. TypeDB version: 2.25.7
  3. Environment: MacOS
  4. Studio version: a259fe14604f770c1d548c067e8cbf01a8b8798a

Reproducible Steps

Run:

define
person sub entity;
person owns name;

Expected result

TYR03 thrown.

james-whiteside commented 10 months ago

Apparently fixed by driver update in feb7c6f9fa0eb79f06618c5a27c51a3265310eb0.