-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot import saved objects from 6.8.1 to 7.3.0 if the object has filter aggregations #41240
Comments
Pinging @elastic/kibana-app |
Not fixed yet. |
cc @marius-dr |
Updated the headline as the rest of the saved objects are fine. |
@marius-dr can you please confirm the status of this bug either on BC6 or on today's snapshot please? I was on yesterday's and today's was still building. Cc @LeeDr |
I checked on BC5 and still couldn't repro. :( |
@marius-dr wasn't able to repro that original error either, so I think this can safely be closed. Maybe @bhavyarm you accidentally were running an older version? |
Should this be filed under a new issue? That error seems completely different from the error that showed up when importing the exported json from 6.8 to 7.3. |
Looks like there were as many as 3 issues in the original description.
|
@LeeDr the same import works fine in 7.2.1 |
This is the exported saved objects for 7.2.1 for the same objects in 7.3.0 bug |
@stacey-gammon @LeeDr just logged another bug: #42343 I don't think its related but just in case. |
Pinging @elastic/kibana-app-arch |
tagging app arch team too because the bug may have been exposed from some of the filtering refactoring. Might have something to do with this PR: https://github.com/elastic/kibana/pull/35544/files though nothing very obvious, though I do see this line |
I was able to reproduce this on 7.3 but not master. On master if I toggle from lucene to KQL or vice-versa and hit So I think we should split this particular item out into a separate issue (item 4 from @LeeDr's list above), as it doesn't appear related to migrations and seems to just be a 7.3 problem. Haven't tested on earlier versions. @lizozom Any thoughts on this or why it might be working on master? I think you've merged a few bugfixes related to filters recently. |
I guess we need to also test if there are problems on 7.x (7.4.0). |
I will upload 7.x results shortly. Ran into a different problem. |
Same bug on 7.x @lukeelmers @LeeDr I am on the snapshot from Build #75 (Aug 2, 2019 5:41:00 AM) |
@LeeDr I couldn't reproduce this on 7.0.0/7.1.1 |
Confirmed on Spent awhile looking at this today and came up empty so far. I saw the same things @stacey-gammon noticed -- this originates from It seems this area of code was most affected by #35544 -- however the tags in that PR suggest it was merged for @lizozom Any ideas on any of these items, since you currently have the most expertise on the FilterManager? |
@lukeelmers checked on 7.2.1 again and its definitely working. cc @LeeDr Thanks! |
Pinging @elastic/kibana-platform |
Ignore me, I was looking at the wrong ticket. |
We bumped our k8s cluster to 7.3 and was hit hard by this issue. All filters were set to |
@stacey-gammon @lukeelmers I debugged the issue, thinking this was a However, the dashboard shouldn't have filters at all (it doesn't have them in 7.2). The problem happens when in 7.3, this dashboard decides it has a filter and then adds a misshaped one to I didn't figure out why the dashboard thought it had a filter though. Regardless, we should finally TS the filter manager helper functions. :) |
Kibana version: 7.3.0 BC4
Elasticsearch version: 7.3.0 BC4
Server OS version: darwin_x86_64
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: If user tries to import metric viz with filters aggregation from 6.8.1 to 7.2.0 - Kibana fails to do so and logs:
Steps to reproduce:
machine_os horizontal_bard_chart response_code
with logstash index patternScreenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Kibana logs:
bubbles.json.txt
The text was updated successfully, but these errors were encountered: