MDL-36939 cache: instance form validation now handles errors properly