Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-27638

XML view generates invalid XML for date customfield in languages that use accented characters for the months

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Add a date custom field
      2. Ensure that the database, file encoding and application server are all using the utf-8 encoding as per the guide in page
      3. Change the default language of your JIRA instance to French for example
      4. Choose a sample issue and set the value of the new custom field to "1 February 2012" (in french 1er février 2012)
      5. Display the updated issue in the navigator
      6. click on the view/xml menu
      7. 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.

      Attachments

        1. screenshot-1.jpg
          screenshot-1.jpg
          73 kB
        2. screenshot-2.jpg
          screenshot-2.jpg
          81 kB
        3. screenshot-3.jpg
          screenshot-3.jpg
          47 kB

        Issue Links

          Activity

            People

              rsmart metapoint
              smaiyaki Sultan Maiyaki (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: