Uploaded image for project: 'Zanata'
  1. ZNTA-657

Add new language uses the search text instead of the selected locale

    Details

    • Sprint:
      15.22

      Description

      When a search is typed in the "Add New Language" dialog, then a locale is selected from the suggestion list, the dialog shows all the details of the selected locale, but when saved the locale code and other details are just based on whatever was typed before selecting the locale.

      To reproduce:

      1. Sign in as admin and navigate to languages page
      2. In "..." menu, select "Add New Language"
      3. Type "a" into the search field, wait for results
      4. Click on "af Afrikaans", note that name, language code and native name all have appropriate values
      5. Click "Save"

      Actual results:
      Language list does not show "Afrikaans", instead a language named "a" is shown, with language code "a" and native name "a".

      Expected results:
      Afrikaans is added with correct code, name and native name.

        Attachments

          Activity

            People

            • Assignee:
              aeng Alex Eng
              Reporter:
              damason David Mason
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: