-
Bug
-
Resolution: Fixed
-
Low
-
9.5.0
-
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"
[BAM-25813] Custom avatars do not work correctly under certain locale
Affects Version/s | Original: 9.5.6 [ 108594 ] | |
Affects Version/s | Original: 9.5.4 [ 108107 ] |
Description |
Original:
h3. Issue Summary
Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters. h3. Steps to Reproduce 1. Start Bamboo with a locale that produces dates with non-ASCII characters 2. Try to use custom avatars h3. Expected Results Avatars load h3. Actual Results The request to load the avatar will fail The below exception is thrown: {noformat} 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. ... {noformat} h3. Workaround Start Bamboo with English date locale. This can be done by adding this to *<BAMBOO_INSTALL>/bin/setenv.sh* {code:java} JAVA_OPTS="-Duser.language=en-US $JAVA_OPTS"{code} |
New:
h3. Issue Summary
Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters. h3. Steps to Reproduce 1. Start Bamboo with a locale that produces dates with non-ASCII characters 2. Try to use custom avatars h3. Expected Results Avatars load h3. Actual Results The request to load the avatar will fail The below exception is thrown: {noformat} 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. ... {noformat} h3. Workaround Start Bamboo with English date locale. This can be done by adding this to *<BAMBOO_INSTALL>/bin/setenv.sh* {code:java} JAVA_OPTS="-Duser.language=en $JAVA_OPTS"{code} |
Remote Link | New: This issue links to "Page (Confluence)" [ 927002 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 923044 ] |
Description |
Original:
h3. Issue Summary
Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters. h3. Steps to Reproduce 1. Start Bamboo with a locale that produces dates with non-ASCII characters 2. Try to use custom avatars h3. Expected Results Avatars load h3. Actual Results The request to load the avatar will fail The below exception is thrown: {noformat} 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. ... {noformat} h3. Workaround Start Bamboo with English date locale. |
New:
h3. Issue Summary
Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters. h3. Steps to Reproduce 1. Start Bamboo with a locale that produces dates with non-ASCII characters 2. Try to use custom avatars h3. Expected Results Avatars load h3. Actual Results The request to load the avatar will fail The below exception is thrown: {noformat} 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. ... {noformat} h3. Workaround Start Bamboo with English date locale. This can be done by adding this to *<BAMBOO_INSTALL>/bin/setenv.sh* {code:java} JAVA_OPTS="-Duser.language=en-US $JAVA_OPTS"{code} |
Support reference count | New: 1 |
Fix Version/s | New: 9.6.4 [ 108701 ] |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Summary | Original: Avatars do not work correctly under certain locale | New: Custom avatars do not work correctly under certain locale |