[Bug] missing timepicker:quickRanges migration#93409
Conversation
|
Pinging @elastic/kibana-app-services (Team:AppServices) |
|
Should we also add a new migration for 7.12 that does this change too? That way if someone already upgraded to 7.9-7.11, they'll also get the fix. |
|
yeah for the reason Josh mentioned we should rather release this as a 7.12 migration since we can't backport the migration itself to 7.9. From
|
|
@rudolf @joshdover I've turned this into a 7.12 migration |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: cc @lizozom |
|
@lizozom Would you be willing to add a unit test for this in a follow-up PR? New migrations always make me a bit nervous 🙂 |
* timepicker:quickRanges * code review * Change into a 7.12 migration
* master: (107 commits) [Logs UI] Fix log stream data fetching (elastic#93201) [App Search] Added relevance tuning search preview (elastic#93054) [Canvas] Fix reports embeddables (elastic#93482) [ILM] Added new functional test in ILM for creating a new policy (elastic#92936) Remove direct dependency on statehood package (elastic#93592) [Maps] Track tile loading status (elastic#91585) [Discover][Doc] Improve main documentation (elastic#91854) [Upgrade Assistant] Disable UA and add prompt (elastic#92834) [Snapshot Restore] Remove cloud validation for slm policy (elastic#93609) [Maps] Support GeometryCollections in GeoJson upload (elastic#93507) [XY Charts] fix partial histogram endzones annotations (elastic#93091) [Core] Simplify context typings (elastic#93579) [Alerting] Improving health status check (elastic#93282) [Discover] Restore context documentation (elastic#90784) [core-docs] Edits core-intro section for the new docs system (elastic#93540) add missed codeowners (elastic#89714) fetch node labels via script execution (elastic#93225) [Security Solution] Adds getMockTheme function (elastic#92840) Sort dependencies in package.json correctly (elastic#93590) [Bug] missing timepicker:quickRanges migration (elastic#93409) ...
* timepicker:quickRanges * code review * Change into a 7.12 migration # Conflicts: # src/core/server/ui_settings/saved_objects/migrations.ts
* [Bug] missing timepicker:quickRanges migration (#93409) * timepicker:quickRanges * code review * Change into a 7.12 migration # Conflicts: # src/core/server/ui_settings/saved_objects/migrations.ts * Delete migration Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Resolves #92267
While the format of
timepicker:quickRangeschanged in 6.x, upgrades continued working as the format was backwards compatible.But since 7.9 added uiSettings validation, old formats would cause errors if trying to edit them:
This PR adds a migration removing the
sectionparameter fromtimepicker:quickRanges, when upgrading beyond 7.12.Checklist
Delete any items that are not applicable to this PR.
For maintainers