cubicweb-processing #3529585 The param_def relation between ParameterValue and ParameterDefinition should not be composite [validation pending]

Otherwise, both ParameterDefinition and Run are owners of ParameterValue, which can pose problems, e.g. if we delete ParameterDefinition, we lose the parameter values on the runs, thus having runs with certain parameter values missing.

We would rather like to have the following behavior:

  • if there is at least one ParameterValue with a certain ParameterDefinition, the said ParameterDefinition cannot be deleted.
  • if the Run is deleted, then all its associated ParameterValues are deleted.
  • if there is no ParameterValue associated to a certain ParameterDefinition, then and only then the said ParameterDefinition can be deleted.
prioritynormal
typebug
done in0.6.0
load0.200
load left0.000
closed by#127f74ea5278 [schema] Drop the composite between Parameter definitions and values (closes #3529585).
patch[schema] Drop the composite between Parameter definitions and values (closes #3529585). [applied]