Closed edigonzales closed 3 weeks ago
Attributes with a boolean domain are not handeled correctly.
This is a small Model that reproduces the exception:
INTERLIS 2.4;
MODEL BooleanTest AT "mailto:noreply@localhost" VERSION "2024-06-27" =
DOMAIN BooleanDomain = BOOLEAN;
TOPIC Topic =
CLASS Class =
AttrBoolean: BOOLEAN;
AttrDomainBoolean: BooleanDomain;
END Class;
END Topic;
END BooleanTest.
Z.B. DMAV_Bodenbedeckung_V1_0 und DMAV_Grundstuecke_V1_0:
java -jar ili2pg-5.1.0.jar --dbhost localhost --dbport 54321 --dbdatabase edit --dbusr ddluser --dbpwd ddluser --dbschema agi_dmav_bodenbedeckung_v1 --models DMAV_Bodenbedeckung_V1_0 --createEnumTabs --createBasketCol --schemaimport
führt zu folgendem Fehler:
Mit --createEnumTabsWithId funktioniert es.
cc @olivergrimm @beistehen