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

SIEM fails to load when ja-JP is the locale in v7.7.1 #69269

Closed
mattkime opened this issue Jun 16, 2020 · 4 comments · Fixed by #70423
Closed

SIEM fails to load when ja-JP is the locale in v7.7.1 #69269

mattkime opened this issue Jun 16, 2020 · 4 comments · Fixed by #70423
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Project:i18n Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.7.2

Comments

@mattkime
Copy link
Contributor

Description:

Set i18n Japanese locale in Kibana prevents access to SIEM app.

Following error shows up when accessing the SIEM app:

Version: 7.7.1
Build: 30896
Error: [I18n] Error formatting message: "xpack.siem.case.connectors.servicenow.selectMessageText" for locale: "ja-jp".
SyntaxError: Expected "\\#", "\\\\", "\\u", "\\{", "\\}", "{", [^{}\\\0-\x1F\x7f \t\n\r], end of input or whitespace but "\\" found.
    at Object.t.translate (http://localhost:5601/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:312:87058)
    at Object.4444 (http://localhost:5601/bundles/siem.bundle.js:14:172286)
    at __webpack_require__ (http://localhost:5601/bundles/siem.bundle.js:2:1595)
    at Object.4440 (http://localhost:5601/bundles/siem.bundle.js:14:157708)
    at __webpack_require__ (http://localhost:5601/bundles/siem.bundle.js:2:1595)
    at Object.4439 (http://localhost:5601/bundles/siem.bundle.js:14:157323)
    at __webpack_require__ (http://localhost:5601/bundles/siem.bundle.js:2:1595)
    at Object.4406 (http://localhost:5601/bundles/siem.bundle.js:10:157933)
    at __webpack_require__ (http://localhost:5601/bundles/siem.bundle.js:2:1595)
    at Object.4405 (http://localhost:5601/bundles/siem.bundle.js:10:157069)

Steps to reproduce

  1. Set i18n.locale: "ja-JP" in kibana.yml
  2. Restart Kibana
  3. Go to Kibana SIEM app

Screenshot

Screen Shot 2020-06-16 at 14 46 05

Workaround

Switch temporarily back to locale default ("en").

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-localization (Team:Localization)

@mattkime
Copy link
Contributor Author

Does not seem to happen on v7.8

@Bamieh
Copy link
Member

Bamieh commented Jun 16, 2020

I am working on a PR this week to start checking for this case in the i18n_check script to avoid this happening again. I'll run the script on master, 7.7, 7.8 and 7.x once its ready and submit PRs if needed.

Related: #68220

@Bamieh Bamieh self-assigned this Jun 16, 2020
@Bamieh Bamieh added the bug Fixes for quality problems that affect the customer experience label Jun 16, 2020
@lukeelmers lukeelmers added Project:i18n Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Oct 1, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

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 Project:i18n Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.7.2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants