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

com.atlassian.jira.issue.customfields.manager.OptionsManager#findByOptionValue doesn't support values with an ß character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 7.6.1
    • Issue - Fields, Java API

    Description

      Summary

      Passing "Dießl" in OptionsManager#findByOptionValue returns an empty list even if it exists; calling OptionsManager#getAllOptions shows "Dießl".

      Steps to Reproduce

      1. Create a list with "Dießl"
      2. In your code, pass "Dießl" in OptionsManager#findByOptionValue

      Expected Results

      The returned list contains "Dießl".

      Actual Results

      Empty list.

      Notes

      Seems to be caused by CaseFolding#foldString as mentioned in DEVHELP-1018. In Java, using String#toUppercase to "ß" changes it to "SS", hence, causes the problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              94298a523126 David Fischer (Appfire)
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: