-
Bug
-
Resolution: Unresolved
-
Medium (View bug fix roadmap)
-
None
-
5.1.4
-
5.01
-
2
-
Severity 2 - Major
-
Actual behavior:
The XML generated is invalid since dates in customfield have accented chars.
Steps to reproduce:
- Add a date custom field
- Ensure that the database, file encoding and application server are all using the utf-8 encoding as per the guide in page
- Change the default language of your JIRA instance to French for example
- Choose a sample issue and set the value of the new custom field to "1 February 2012" (in french 1er février 2012)
- Display the updated issue in the navigator
- click on the view/xml menu
- The browser displays this error message
The problem is probably due to the fact that com.atlassian.jira.datetime.DateTimeVelocityUtils.formatRSS(Date) method referenced in xml-date.vm does not escape accented characters in a consistent manner.
Expected behavior:
Have the XML properly encoded for those characters.
Workaround:
No workarounds available.
- is cloned from
-
JRASERVER-27638 XML view generates invalid XML for date customfield in languages that use accented characters for the months
-
- Closed
-
It looks like the XML is correctly escaping the accented letter but the parser that reads that doesn't know where to find the entity definition.