Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3719

Empty rows are automatically selected in Autocomplete Connect fields with multiple values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.1.4, 6.1.5, 6.1.6, 6.1.7, 6.1.8, 6.1.9, 6.1.10, 6.1.11, 6.2.0, 6.3.0, 6.2.1
    • Fix Version/s: 6.4.2
    • Labels:
      None
    • Functional components:
      Field editor - Autocomplete
      Jira Software

      Description

      Note
      This bug appeared since version 6.1.4.

      How to reproduce

      • Create a dummy Connect field whose editor type is "Autocomplete" and from which multiple values can be selected:
      • The query result must contain a result with an empty key:
      • Add this field to the creation screen of a project

      Current Result

      When you try to create a new issue, the row whose key is empty is automatically selected in the Connect field:

      Expected

      When you try to create a new issue, the row whose key is empty should not be automatically selected in the Connect field.

      Global Workaround

      Make sure there are no empty keys in the query result, either by adapting the query to ignore the empty rows, or by deleting the empty rows directly in the datasource. For a SQL query, another solution is to add the HAVING clause to ignore empty keys.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              christophe.prome@valiantys.com Christophe Promé
              Reporter:
              simon.laffont@elements-apps.com Simon Laffont
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: