Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mislead message thrown when trying to create a new language with wrong values #13168

Closed
nollymar opened this issue Dec 4, 2017 · 2 comments
Closed

Comments

@nollymar
Copy link
Contributor

nollymar commented Dec 4, 2017

An incorrect message and an exception are thrown if a user types unexpected values for fields when a new language is created, ie. type a language name in the Language Code field.

create_language

Log error: https://gist.github.com/nollymar/dbb8ea4857a3945291b91cebda722f6b
Wrong message: "Language Not Saved. There is already another Language with the same Language code and Country code."

Your Environment

  • dotCMS version used: dotCMS 4.2.x
  • Browser Name and version: Google Chrome
  • Operating System and version: MacOS
  • Application Server and version: Tomcat8
  • Java Brand and version: JDK 8
  • Database and version: Postgres
  • Application module (if apply): Languages
@dsilvam dsilvam changed the title Exception thrown when trying to create a new language Exception thrown when trying to create a new language with wrong values Dec 4, 2017
@dsilvam dsilvam changed the title Exception thrown when trying to create a new language with wrong values Mislead message thrown when trying to create a new language with wrong values Dec 4, 2017
@dsilvam dsilvam added this to the Rex Next milestone Dec 4, 2017
@dsilvam dsilvam modified the milestones: Rex Current , Rex Next Jan 16, 2018
@dsilvam dsilvam modified the milestones: Rex Current, Rex Next Feb 13, 2018
@dsilvam dsilvam modified the milestones: Rex Current, Rex Next Mar 1, 2018
@dsilvam dsilvam modified the milestones: Rex Current, Rex Next Mar 20, 2018
@erickgonzalez erickgonzalez modified the milestones: Rex Current, Rex Next Apr 11, 2018
@dsilvam dsilvam modified the milestones: Rex Current, Rex Next May 1, 2018
@erickgonzalez
Copy link
Contributor

PR: #15082

@nollymar
Copy link
Contributor Author

nollymar commented Aug 9, 2018

Tests Results: OK. The fix is working as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants