Open cymed opened 5 months ago
the issue you mentioned was because the workflow was run from a fork and secrets variables are not available
The problem I am referencing is that for most classes from VSA DSS, the query filter based on self.subset_ids
is not set correctly. self.subset_ids contains the wastewater_networkelement
, but all queries are structures as
query = query.filter(
self.model_classes_tww_od.retention_body.obj_id.in_(self.subset_ids)
)
, even though they do not share an obj_id with networkelement
@cymed So how would we have to set the filters? Would we need to follow the model hierarchy?
I think we need to cascade down from the subset oids to the specific oids using joins
rohrprofil_geometrie needs to be adapted also: https://github.com/cymed/TEKSI-wastewater/blob/0c868c69f211cd1fc3f728e2c7c411656f3bbae2/plugin/teksi_wastewater/interlis/interlis_model_mapping/interlis_exporter_to_intermediate_schema.py#L1980
See adaptions on qgep in adding all classes to wastewater_networkelement into the join statement: https://github.com/QGEP/qgepqwat2ili/pull/144#issuecomment-2113369409
sia debug port from QGEP FIX to TEKSI Wastewater
Filtered Exports might be failing if they include any classes hotfixed in #153