-
Bug
-
Resolution: Fixed
-
Low
-
None
-
7
-
Severity 3 - Minor
-
Summary
If locale setting in the Bamboo Server computer makes the date use a special character, Bamboo will fail to parse the date, returning null.
Environment
Linux with locale settings that use special characters for either days or months.
Steps to reproduce
- In catalina.sh (for Linux), add "user.language=XX" for JAVA_OPTS. For example:
JAVA_OPTS="$JAVA_OPTS $JSSE_OPTS -Duser.language=de -Duser.region=DE"
We are now in March. In german, March is März. The "umlaut" cannot be parsed.
- Run a build.
Expected results
03-Mar-2017 16:33:55 JOB1 03-Mar-2017 16:33:55 going to sleep. 03-Mar-2017 16:33:58 sleeping done
Actual results
01-Jan-1970 01:00:00 JOB1 01-Jan-1970 01:00:00 going to sleep. 01-Jan-1970 01:00:00 sleeping done
Workaround
- Force tomcat to use english locale:
JAVA_OPTS="$JAVA_OPTS $JSSE_OPTS -Duser.language=en -Duser.region=DE"
-------
Old description
Steps to replicate
- Set your system locale to US or UK locale
- Set the region format to German de-CH. See the screenshot
- This will cause Bamboo build logs to display the logs all to default date 01-Jan-1970 01:00:00. If the build logs is hwoever opened or downloaded, the correct timing is shown. See below
- This mostly happens in months when the abbreviations are different. In the example above, December is abbreviated as dec in UK/US whereas in German, it dez. For more on the list of month abbreviations see http://library.princeton.edu/departments/tsd/katmandu/reference/months.html
workaround
Please see this knowledge base article
- is duplicated by
-
BAM-18230 Locale setting breaks build log timestamp
-
- Closed
-
- is cloned as
-
BDEV-15955 Failed to load
[BAM-14152] The build logs dates default to 01-Jan-1970 01:00:00 if the windows display format is different from the system locale
Remote Link | Original: This issue links to "BDEV-15955 (Jira)" [ 495381 ] | New: This issue links to "BDEV-15955 (Hello Jira)" [ 495381 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Status | Original: Long Term Backlog [ 12073 ] | New: In Progress [ 3 ] |
Fix Version/s | New: 7.1.2 [ 92391 ] |
Assignee | New: Marcin Gardias [ mgardias ] |
Remote Link | New: This issue links to "BDEV-15955 (Jira)" [ 495381 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 495454 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 481074 ] |
Support reference count | Original: 6 | New: 7 |