Steps to replicate the issue (include links if applicable):
- Register an experiment (the specific configuration seems to be irrelevant)
- Update the experiment above to change its machine-readable name (if the experiment hasn't been turned on, this is allowed)
What happens?:
The application crashes during the validation process in the server side (probably because there is no value for that currentData object because it's referring to something, the experiment with the new name, that don't exist yet?):
. . . . ./validation/index.js:52
currentData.sample_rate = getSampleRateForCurrentDataValidation(currentData.sample_rate);
^
TypeError: Cannot read properties of null (reading 'sample_rate')What should have happened instead?:
The machine-readable name should be modified
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Test Kitchen UI v1.2.0
Other information (browser name/version, screenshots, etc.):