dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05190
[Bug 551393] Re: Validate duplication of indicator name when added
Dear KA and Lars,
I have just checked this bug again. Actually, this is not a bug.
Because, the validation function is working fine in English. It means
the issue is Vietnamese when using Ajax for validating.
** Changed in: dhis2
Assignee: Hieu Duy Dang (hieu-hispvietnam) => (unassigned)
** Changed in: dhis2
Status: New => Fix Committed
--
Validate duplication of indicator name when added
https://bugs.launchpad.net/bugs/551393
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
Status in DHIS 2 - District Health Information Software: Fix Committed
Bug description:
Currently, when adding a new indicator... there is no validation/check-ups the availability of indicator name.
As a result of this, when a duplication occurs, it links to an exception page....
"An exception occurred
Sorry! The system failed to execute the operation. Usually, no data is lost and you can continue working by going back to the previous page. If you wish to report the incident, please save this page by choosing "File -> Save (page as)" in your browser and include the saved page in the report. The problem details are listed below.
[+] Exception (org.hibernate.exception.ConstraintViolationException): Could not execute JDBC batch update
... "
This is very confusing to users. With the experienced-user they can click the "Go Back" button to re-edit the ind-name but the normal users... if they link to the other pages... without clicking the button, the sys.is crashed with Indicator Management function...!
Suggestion: add the checking scripts at/nearby the ind-name box on the page of adding new ind to check availability of the ind-name (like normal registration account on web: Yahoo, Gmail, etc.)
Follow ups
References