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

Kibana i18n Setting Leads to Unknown saved object type Warning #52165

Closed
Serendo opened this issue Dec 4, 2019 · 6 comments
Closed

Kibana i18n Setting Leads to Unknown saved object type Warning #52165

Serendo opened this issue Dec 4, 2019 · 6 comments
Labels
bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Project:i18n Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@Serendo
Copy link

Serendo commented Dec 4, 2019

Kibana version:
6.8.4
Elasticsearch version:
6.8.4
Server OS version:
centos 7.5
Browser version:
safari
Browser OS version:
macos 10.14.6
Original install method (e.g. download page, yum, from source, etc.):
yum
Describe the bug:
when switched to zh-CN using i18n setting in kibana.yml, there is a warning message coming up when browsing saved objects in kibana management section. This is caused by the i18n translation of the savedDashboard's title in savedObjectManagementRegistry(src/legacy/core_plugins/kibana/public/dashboard/saved_dashboard/saved_dashboards.js).
Steps to reproduce:

  1. Make a dashboard, it can be an empty one.
  2. Set i18n.locale: "zh-CN" in kibana.yml
  3. Start kibana and go to management -> saved objects.

Expected behavior:
There will be a warning message which means the Dashboard is an unknown type of saved object.

Screenshots (if relevant):
image

Errors in browser console (if relevant):
No errors in console
Provide logs and/or server output (if relevant):

Any additional context:

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-services (Team:Stack Services)

@streamich streamich added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Dec 5, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@streamich streamich added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. triaged labels Dec 5, 2019
@bmcconaghy
Copy link
Contributor

Seems like this is actually a @elastic/kibana-platform or @elastic/kibana-app issue, as the saved object management page is using the translated name to do the saved object lookup.

@timroes timroes added REASSIGN from Team:Core UI Deprecated label for old Core UI team and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Dec 9, 2019
@timroes timroes added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc and removed REASSIGN from Team:Core UI Deprecated label for old Core UI team labels Feb 7, 2020
@timroes
Copy link
Contributor

timroes commented Feb 7, 2020

@elastic/kibana-platform I relabelled this correctly since you own the saved objects UI (sorry for wrong initial labeling). I just closed #52244 which fixed this by removing i18n again from those places. I don't think this is the viable solution and we rather want to fix the saved object page, to not use localized strings for any comparison anymore :-)

@pgayvallet
Copy link
Contributor

The translated title was 'fixed' by #61700 in 7.8+

However I cannot reproduce the issue even on the 7.6 branch. This was likely already fixed on a previous 7 minor.

@pgayvallet
Copy link
Contributor

Closing, as solved on 7.6+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Project:i18n Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

7 participants