-
Bug
-
Resolution: Fixed
-
Low
-
8.19.13, 9.4.1
-
1
-
Severity 3 - Minor
-
Issue Summary
In Bitbucket Data Center, creating an application link to Jira Data Center fails when the user's language is set to Japanese. The application link creation dialog unexpectedly closes, and an error related to templates is logged. Changing the user's language settings to English resolves the issue.
This is reproducible on Data Center: yes
Steps to Reproduce
- Set the user's language settings to Japanese in Bitbucket Data Center.
- Navigate to Administration > Application Links.
- Attempt to create an application link to Jira Data Center.
Expected Results
The application link is successfully created regardless of the user's language settings.
Actual Results
The application link creation dialog closes unexpectedly.
The below exception is thrown in the xxxxxxx.log file:
2024-12-17 01:25:27,503 WARN [http-nio-7990-exec-9] @1IVI0FDx85x21176x2 1v53b4l 10.230.0.213,10.224.218.83 "GET /s/eaa1f1ef7eaf8607def523503a1e4aaf-CDN/337975711/ef072d1/n1cn5w/90c1b89ea4f72d088444175b3db328a2/_/download/contextbatch/js/applinks.list.application.links.agent,bitbucket.internal.feature.theme,bitbucket.internal.feature.whats.new,atl.admin,bitbucket.layout.base,bitbucket.layout.admin,bitbucket.layout.entity,zdu-banner-all,-_super/batch.js HTTP/1.1" webresource error in `Content.writeTo` for com.atlassian.applinks.applinks-plugin:list-application-links/applinks-dialog-soy.js com.google.template.soy.base.SoySyntaxException: In file com/atlassian/applinks/ui/admin/applinks-dialog.soy, template applinks.templates.getCreateUalLinkDialog: Error in function call "getText('applinks.create.not.admin')": can't parse argument number: アプリ名 at com.google.template.soy.base.SoySyntaxException.createCausedWithoutMetaInfo(SoySyntaxException.java:69) … at java.base/java.lang.Thread.run(Thread.java:840) ... 265 frames trimmed Caused by: java.lang.IllegalArgumentException: can't parse argument number: アプリ名 at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1460) … at com.google.template.soy.jssrc.internal.TranslateToJsExprVisitor.visitFunctionNode(TranslateToJsExprVisitor.java:474) ... 138 common frames omitted Caused by: java.lang.NumberFormatException: For input string: "アプリ名" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) … at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1458) ... 161 common frames omitted
Workaround
Change the user's language settings to English and retry the application link creation process.