I've come across this problem before and each time its a headache to fix. When I remove input parameters from an indicator, from one version to the next, the new version gets this error. I believe I understand the reason, that there are parameters saved in the .xml files that cannot be de-serialized by the indicator because they no longer exist.
Now, accepting the error and saving the default parameters is not always an option, because some indicators have a lot of parameters and it takes time to set them all up again.
The only way I have been able to fix it is to grep all the .xml files and remove references to the old variables, but this is time consuming and often requires several iterations, and there are other people using my indicators that would not be able to do this for themselves.
Do you have a utility or is there a procedure that I can follow to make my indicator updates more user friendly?
Thanks,
Will.
Comment