Skip to content
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

[index patterns] Fallback to id if title does not exist #14302

Merged
merged 3 commits into from
Oct 4, 2017

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Oct 4, 2017

Currently (5.6+) patterns sent to elasticsearch are pulling from the title field in a saved object. In prior versions of the kibana index, we pulled the pattern from the _id field. For older versions of .kibana that don't have a title field, we set title in memory to be equal to _id. We'll need a more robust versioning fix in the future.

Closes #14267

@tylersmalley
Copy link
Contributor

Let's also get a unit test so we're not burned by this again.

Copy link
Contributor

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jbudz
Copy link
Member Author

jbudz commented Oct 4, 2017

Working on a forward port

@jbudz
Copy link
Member Author

jbudz commented Oct 5, 2017

Nevermind, no forward port needed. Looks like it was lost in the backport of #12794. On the plus side the code is coincidentally the exact same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants