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
        DonnaA
      2. setenv.sh
        0.1 kB
        DonnaA

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

          Monique Khairuliana (Inactive) made changes -
          Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1509315 ] New: JAC Bug Workflow v3 [ 3364001 ]
          Owen made changes -
          Workflow Original: Simplified Crowd Development Workflow v2 [ 1391101 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1509315 ]
          Owen made changes -
          Workflow Original: Crowd Development Workflow v2 [ 272988 ] New: Simplified Crowd Development Workflow v2 [ 1391101 ]
          jawong.adm made changes -
          Workflow Original: JIRA Bug Workflow v2 [ 174075 ] New: Crowd Development Workflow v2 [ 272988 ]
          Justin Koke made changes -
          Workflow Original: jira [ 119153 ] New: JIRA Bug Workflow v2 [ 174075 ]
          Justin Koke made changes -
          Fix Version/s New: 1.5.1 [ 14210 ]
          Assignee Original: Justen Stepka [Atlassian] [ justen.stepka@atlassian.com ] New: Justin Koke [ justin@atlassian.com ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          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 made changes -
          Attachment New: setenv.bat [ 28454 ]
          Attachment New: setenv.sh [ 28455 ]

          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

            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: