kibana/x-pack/plugins
Walter Rafelsberger d6e2464ff0
[ML] Fixes sync issue where a manipulated AppState wouldn't contain the original attribute anymore. (#18653)
Inconcistencies between AppState and derived custom states for UI components like mlSelectLimit and mlSelectInterval could trigger errors because the parent of a nested object attribute could become undefined. This PR adds additional checks to state_factory.js's get/set/reset methods to reinitialize itself with AppState and fall back to its default state should it not be present within AppState anymore. The original issues were hard to reproduce consistently using the UI only. However the error could be triggered when creating a malformed URL, like replacing the mlSelectInterval:(interval:(display:Auto,val:auto)) part of the URL to something like mlSelectInterval:(undefined). This PR includes additional unit tests which simulate this behaviour and fail without the additional checks provided by this PR.
2018-05-02 08:18:31 +02:00
..
__mocks__ Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
apm [APM] Minor watcher improvements (#18602) 2018-04-26 17:44:31 +02:00
cloud Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
console_extensions [console_extensions] disable when console is disabled (#18673) 2018-05-01 10:54:43 -05:00
dashboard_mode Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
graph Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
grokdebugger [Grok Debugger] Adding syntax highlighting for grok expressions (#18572) 2018-04-30 12:31:23 -07:00
index_management Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
license_management passing acknowledge=true with start_trial (#18655) 2018-04-30 12:59:00 -04:00
logstash [Logstash Centralized Management] Hide recently-deleted pipelines (follow up PR) (#18683) 2018-05-01 07:16:39 -07:00
ml [ML] Fixes sync issue where a manipulated AppState wouldn't contain the original attribute anymore. (#18653) 2018-05-02 08:18:31 +02:00
monitoring [Monitoring] add get_clusters_summary to shrink cluster api response (#18596) 2018-04-30 09:11:01 -07:00
reporting Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
searchprofiler Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
security [UI Text: Security] Edited text in User, Add user, and Edit user pages (#18618) 2018-04-30 08:58:27 -07:00
tilemap Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
watcher Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
xpack_main Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00