Stop validating sample_rate and start_date in the server when machine-readable is changed

Stop validating sample_rate and start_date in the server when machine-readable name has been changed

The above shouldn't be a problem because the UI doesn't allow to modify those fields once the instrument/experiment has been activated/turned on. And, before activating/turning the instrument/experiment on, those modifications are not a problem. In fact, the currentData object contains the configuration of the instrument/experiment just before being updated, to check, during validation process, that the configuration has been change according to the rules (start date cannot be modified once the instrument/experiment has been activated, for example). There are no restrictions when the instrument/experiment is not activated yet so this patch should be ok.

Bug: T416585

Merge request reports

Loading