Custom avatars do not work correctly under certain locale

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 9.6.4
    • Affects Version/s: 9.5.0
    • Component/s: User Interface
    • None
    • 1
    • Severity 3 - Minor

      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"

            Assignee:
            Victor Debone
            Reporter:
            Victor Debone
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: