EQAR / deqar_frontend

Version 2 of the DEQAR Admin Interface, with create-react-app v2, refreshed 3rd party libraries, and many more...
0 stars 0 forks source link

Agency Activity: make Activity Type immutable #100

Closed ctueck closed 6 months ago

ctueck commented 10 months ago

The selected "Activity Type" should be immutable/read-only after an activity was added, i.e. you can choose when adding a new activity but not change for existing ones.

Recently it happened that one activity's type was changed (and that activity had reports), which left the system in an inconsistent state. (A change from programme to institution could in theory be handled by discarding all programme data, but vice-versa programme data would need to be added. For consistency it seems better to create a new activity and then re-assign reports manually or with some ad-hoc automatic approach.)