Bug 1069951 - Empty string in adding a language causes a broken language to be added
Empty string in adding a language causes a broken language to be added
Product: Zanata
Classification: Community
Component: Component-Logic (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: 3.6
Assigned To: Alex Eng
Ding-Yi Chen
Depends On:
  Show dependency treegraph
Reported: 2014-02-25 19:38 EST by Damian Jansen
Modified: 2015-03-19 03:10 EDT (History)
2 users (show)

See Also:
Fixed In Version: 3.6.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-2254)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-03-19 03:10:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Damian Jansen 2014-02-25 19:38:40 EST
Description of problem:
Leaving an empty input field and pressing add creates a language called "Root" which is basically unusable.

Version-Release number of selected component (if applicable):

How reproducible:
Easy always(?)

Steps to Reproduce:
1. Log in as admin, go to Menu->Administration->Manage Languages
2. Click Add New Language
3. Press Save

Actual results:
A language called Root is added, that lacks a locale id and has Root, root as the normal and native names.

Expected results:
"Field cannot be empty" error

Additional info:
Comment 1 Alex Eng 2014-11-03 00:34:34 EST
Pull request:
Comment 2 Ding-Yi Chen 2014-11-03 01:25:58 EST
VERIFIED with Zanata 3.6.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-2254)

Note You need to log in before you can comment on or make changes to this bug.