Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-25813

Custom avatars do not work correctly under certain locale

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 9.6.4
    • 9.5.0
    • User Interface
    • None

      Issue Summary

      Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters.

      Steps to Reproduce

      1. Start Bamboo with a locale that produces dates with non-ASCII characters
      2. Try to use custom avatars

      Expected Results

      Avatars load

      Actual Results

      The request to load the avatar will fail

      The below exception is thrown:

      org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [bamboo-default-servlet] in context with path [] threw exception
      java.lang.IllegalArgumentException: The Unicode character [ž] at code point [382] cannot be encoded as it is outside the permitted range of 0 to 255.
      ...
      

      Workaround

      Start Bamboo with English date locale.

      This can be done by adding this to <BAMBOO_INSTALL>/bin/setenv.sh

      JAVA_OPTS="-Duser.language=en $JAVA_OPTS"

            [BAM-25813] Custom avatars do not work correctly under certain locale

            There are no comments yet on this issue.

              vdebone Victor Debone
              vdebone Victor Debone
              Affected customers:
              1 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: