-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to change maintenance_type #52
Comments
Is it allowed to have a maintenance_event without a type ? (i.e. is it abstract or not) |
There was a change from 2015 to 2020: maintenance_event is in release 2020 ABSTRACT, before it was not. |
if I import the VSA-Musterdatensatz, I get type=unkown and I'm not able to correct this... |
So, this is not a problem of the data model but:
We can discuss if we want to fix/adapt pirogue for this. |
It also does not allow manually inserting a row, as it is set to "unknown" as a default and then does not allow changing that value |
May be we should change the default to |
@urskaufmann with my last import I did not have problems. Maybe we first re-check before we further go with this. |
We still are missing the data in the tww_od.re_maintenance_event_wastewater_structure table after import. |
Wil be fixed in #524 |
I get these error when editing data from vsa_version 2015:
WARNING Fehlerhafte Abfrage: UPDATE "tww_app"."vw_tww_maintenance_event" SET "maintenance_event_type"='examination' WHERE "obj_id"::text='ch080qwzEH001128' ergab 7 [ERROR: Type change not allowed for maintenance_event
HINT: You cannot switch from unknown to examination
CONTEXT: PL/pgSQL function tww_app.ft_vw_tww_maintenance_event_update() line 26 at RAISE
I agree it should not be possible (without further UI) to change the type, after it is set. But I think it should be possible to change once from "unknown" to one of the other types. "Unknown" is not a "type" (not a subclass of maintenance_event).
The text was updated successfully, but these errors were encountered: