You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note there was only one filter type per detector.
3) upgrade to 1.3.2
4)update one filter. It won't allow you to save the updates. And exceptions from console:
Detected an unhandled Promise rejection. SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data[fatal_errors_service.tsx:120](http://localhost:5601/entry:core/src/core/public/fatal_errors/fatal_errors_service.tsx)
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
formikToFilterQueryhelpers.ts:84
formikToFilterQueryhelpers.ts:74
formikToDetectorDefinitionhelpers.ts:82
handleFormValidationDefineDetector.tsx:126
promise callback*handleFormValidationDefineDetector.tsx:123
onClickDefineDetector.tsx:214
React17
unstable_runWithPriorityscheduler.development.js:697
React19
unstable_runWithPriorityscheduler.development.js:697
React6
startrendering_service.tsx:55
startcore_system.ts:276
__osdBootstrap__osd_bootstrap.ts:56
onloadbootstrap.js:154
innerCbbootstrap.js:91
loadScriptbootstrap.js:81
loadbootstrap.js:100
loadbootstrap.js:87
onloadbootstrap.js:105
EventHandlerNonNull*bootstrap.js:48
[helpers.ts:84](http://localhost:5601/plugin:anomalyDetectionDashboards/plugins/anomaly-detection-dashboards-plugin/public/pages/ReviewAndCreate/utils/helpers.ts)
What is the expected behavior?
We should be able to apply the updates.
What is your host/environment?
OS: ES 7.10, OS 1.3
Plugins: AD
The text was updated successfully, but these errors were encountered:
Root cause: we didn't actually add filter type when loading old detector.
Impact: after upgrading from a version before OS 1.1 to later versions, we cannnot update detector using frontend unless resaving all filters (if any).
Fix: add filter type using new way when loading old detector. When saving, all filters are added filter type.
What is the bug?
When upgrading an old detector, we have difficulty updating filter.
How can one reproduce the bug?
Steps to reproduce the behavior:
1)create a 7.10.2 cluster
2)create a detector with 2+ filters like
Note there was only one filter type per detector.
3) upgrade to 1.3.2
4)update one filter. It won't allow you to save the updates. And exceptions from console:
What is the expected behavior?
We should be able to apply the updates.
What is your host/environment?
The text was updated successfully, but these errors were encountered: