Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-701

Need to ensure that special characters are escaped properly for UTF-8 in XML backup.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.5.1
    • 1.2.1
    • Import & Export
    • None

      1. setenv.bat
        0.3 kB
      2. setenv.sh
        0.1 kB

          [CWD-701] Need to ensure that special characters are escaped properly for UTF-8 in XML backup.

          This has now been resolved.

          All files now exported by Crowd enforce UTF-8 as their default encoding and do not rely on the default system encoding.

          Justin Koke added a comment - This has now been resolved. All files now exported by Crowd enforce UTF-8 as their default encoding and do not rely on the default system encoding.

          DonnaA added a comment -

          1. Replace the existing

          {CROWD}

          /apache-tomcat/bin/setenv.sh and setenv.bat files with the attached.
          2. Restart your Crowd instance and perform an XML Backup (Admin -> Backup).
          3. Make sure you have the attached setenv files in your new Crowd installation as well and restart.

          This will allow you to import the XML backup containing UTF-8 characters.

          DonnaA added a comment - 1. Replace the existing {CROWD} /apache-tomcat/bin/setenv.sh and setenv.bat files with the attached. 2. Restart your Crowd instance and perform an XML Backup (Admin -> Backup). 3. Make sure you have the attached setenv files in your new Crowd installation as well and restart. This will allow you to import the XML backup containing UTF-8 characters.

          The Quick fix for this is to actually pass through the file encoding that Crowd should be using as a system environment variable, in this case:

          -Dfile.encoding=UTF-8
          

          Justin Koke added a comment - The Quick fix for this is to actually pass through the file encoding that Crowd should be using as a system environment variable, in this case: -Dfile.encoding=UTF-8

          DonnaA added a comment -

          DonnaA added a comment - Another support issue: https://support.atlassian.com/browse/JSP-28217

          DonnaA added a comment -

          Customers XML backup contained givenName values such as Joëlle. This will not import unless correctly handled in the XML backup.

          DonnaA added a comment - Customers XML backup contained givenName values such as Joëlle. This will not import unless correctly handled in the XML backup.

            justin@atlassian.com Justin Koke
            donna@atlassian.com DonnaA
            Affected customers:
            3 This affects my team
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: