Multiselect Search Template doesn't honor HTML

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.9.1
    • Affects Version/s: 3.9
    • Component/s: Issue - Fields
    • Environment:

      Standalone, JDK 1.6.0, Windows 2003 Server

    • 3.09

      When a custom field has defined options using HTML and is attached to a mutli-select search template, it is not possible to correctly search on those fields.

      For example, we have a custom field called 'Status', with a value of "<span style="background:#0F0;">Green</span>", which just adds a green background to the field in the Issue Navigator.

      With the single-select searcher, the Find Issues query panel will correctly list "Green" along with the other options.

      With the multi-select searcher, the Find Issues query panel will incorrectly list (given verbatim below):
      Green">Green

      ... which doesn't correctly match any issues.

      Escaping the "<" and ">" symbols doesn't appear to have the desired effect either.

              Assignee:
              Unassigned
              Reporter:
              Deleted Account (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: