dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05186
[Bug 551393] [NEW] Validate duplication of indicator name when added
Public bug reported:
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.)
** Affects: dhis2
Importance: Undecided
Status: New
--
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: New
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