Steps to reproduce:
- Start with a template and some (valid) TemplateData for it.
- Change the template, so that parameter_X is now called thingabob_Y.
- Decide that you need to update the TemplateData. Decide that, while you're at it, you'll improve the TemplateData.
- Rearrange the order of the parameters.
- Save the page.
- Change parameter_X to thingabob_Y.
- Save the page.
- Get (accurate) error message that there is an Invalid value for property "paramOrder[13]".
Results:
If you look at the ParamOrder section of the JSON, the parameter order list still shows the old name. If you manually fix the name, it saves with no difficulty.