-
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
Re-importing saved objects when index pattern has been deleted is not letting the user re-create index pattern. #15981
Comments
@liza-mae that last set of errors makes sense. It's telling you that the saved object (visualization probably) references a field which isn't in the index pattern you selected. It doesn't go so far as to only give you the choice of selecting an index pattern which contains all the fields in use by the visualization (although that would be great if it did). |
@LeeDr Yes it should error since it is for a index pattern that does not contain all the fields, I think the issue here is to error more gracefully. Does not look good to show that many errors on top, Bhavya said she has an issue open on it, will reference. Also, if some error checking can be done beforehand when the selected pattern does not match, maybe just show an error dialog and not allow the operation to go through or don't show them as selections in the first place. |
I have a fix coming soon, but we're only backporting to 6.x because there is a workaround. Users just need to ensure the intended index pattern exists before trying to import objects. |
Kibana version: 6.1.2 BC1
Elasticsearch version: 6.1.2 BC1
Server OS version: Ubuntu tar
Browser version: Chrome Latest
Browser OS version: OSX
Original install method (e.g. download page, yum, from source, etc.):
From staging
Description of the problem including expected versus actual behavior:
If index pattern does not exist, re-importing saved objects after deleting visualizations doesn't prompt you to create the index pattern. Instead kibana shows newid undefined error.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: