nens / threedi-schematisation-editor

QGIS tool for editing schematisations
0 stars 0 forks source link

Schematisation editor compatibility with schema version 216 #125

Closed leendertvanwolfswinkel closed 1 year ago

leendertvanwolfswinkel commented 1 year ago

FYI threedi-schema now includes a list of BETA_COLUMNS (https://github.com/nens/threedi-schema/blob/master/threedi_schema/beta_features.py#L33). Columns in this list should be hidden in the attribute table & attribute form. Probably not practical to import this list as threedi-schema is not a schematisation editor dependency.

leendertvanwolfswinkel commented 1 year ago

@ldebek If add a record to the vegetation_drag table and try to export to spatialite, I get this error: image.png

EDIT: After I removed the row and tried to export again, the error was still there

EDIT 2: error also occurs when I do not touch the vegetation drag table at all, so this is an important one to fix

leendertvanwolfswinkel commented 1 year ago

I also get another error: image.png

How to reproduce:

I also tested this with the production version of all the plugins, and that works fine

ldebek commented 1 year ago

@leendertvanwolfswinkel vegetation_drag table export should be fixed now. In terms of the migration error - I wasn't able to repoduce that one. Migration via Schematisation Editor works just fine for me.