Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19784

Unable to Create Application Link Between Bitbucket Data Center and Jira Data Center with Japanese Language Settings

XMLWordPrintable

      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

      1. Set the user's language settings to Japanese in Bitbucket Data Center.
      2. Navigate to Administration > Application Links.
      3. 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.

              91f2c0a8617b Navpreet Ahuja
              720db0c924f0 Tomoya Suzuki
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: