Skip to content

Delete courier:batchSearches from settings during 8.0 migration  #122662

@Dosant

Description

@Dosant

Kibana version: 8.0-rc1

Description of the problem including expected versus actual behavior:

We removed courier:batchSearches that was deprecated for a while #109350

When upgrading to 8.0 and when you had this setting ON you'd still have it in the advanced settings screen as a custom setting:
Screen Shot 2022-01-11 at 12 24 33

We should remove the setting during 8.0 SO migration:

'8.0.0': (doc: SavedObjectUnsanitizedDoc<any>): SavedObjectSanitizedDoc<any> => ({
...doc,
...(doc.attributes && {
attributes: Object.keys(doc.attributes).reduce(
(acc, key) =>
[
// owner: Team:Geo
'visualization:regionmap:showWarnings',
'visualization:tileMap:WMSdefaults',
'visualization:tileMap:maxPrecision',
// owner: Team:Core
'telemetry:optIn',
'xPackMonitoring:allowReport',
'theme:version',
].includes(key)
? {
...acc,
}
: {
...acc,
[key]: doc.attributes[key],
},
{}

Metadata

Metadata

Assignees

Labels

Feature:SearchQuerying infrastructure in KibanabugFixes for quality problems that affect the customer experienceimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effortv8.0.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions