Hello!
I had a few runtime fields working with a cluster against data in a remote cluster, and since upgrading both from 7.15 to 8.6 I'm unable to edit them or create new ones.
I ran into this when trying to fix usages of "org.elasticsearch.script.JodaCompatibleZonedDateTime", but found myself unable to edit them - the editor always reports "script error" and won't let me save valid scripts. Other runtime fields that work still say "script error" in the Preview pane for the field. I deleted the offending JodaCompatible fields to restore discover, but I need to recreate them to fix related visualizations and I can't.
I developed correct replacements directly on the remote cluster, but copying and pasting that same script to the cluster that needs to read the data results in "script error" in the preview pane, and trying to save bring up the " Please address the highlighted errors. * Invalid Painless script." dialog. (no errors are highlighted). The same happens with even "emit("Hello World!");"
I've looked in kibana and both cluster's logs but can't find any errors.
Both clusters are v8.6.2 with Basic licenses.
I've looked at 8.7 release notes and don't see anything related. Of course, I easily could have missed something!
Thank you for any help on this.