Ticket #198 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Error messages in study wizard should be more user friendly

Reported by: robert@… Owned by: business@…
Priority: major Milestone: Should have
Component: General Version:
Keywords: Cc:
Hardware: Operating system:
Product: URL:


When you create or edit a study, and you fill in a wrong value for a field, you get an error message in a dialog. But this error message is very technical. For example:

org.springframework.dao.DataIntegrityViolationException??: Could not execute JDBC batch update; SQL [update study_template_string_fields set template_string_fields_elt=? where study_id=? and template_string_fields_idx=?]; nested exception is org.hibernate.exception.DataException??: Could not execute JDBC batch update, see log for stacktrace

(see also ticket #193)


long → Field error in object 'dbnp.studycapturing.Study' on field 'templateLongFields': rejected value [{long=abc}]

These error messages should be more user friendly, maybe including a solution for the error (e.g. "you entered 'abc' in this field, but this field only allows natural numbers. Try entering a natural number.")

Assigned to Jeroen because it involves the study wizard.

Change History

comment:1 Changed 6 years ago by work@…

  • Milestone set to 0.7

comment:2 Changed 6 years ago by work@…

  • Status changed from new to assigned
  • Owner changed from work@… to business@…

resolved in r1260, please test

comment:3 Changed 6 years ago by business@…

  • Status changed from assigned to closed
  • Resolution set to fixed

fixed, now also for the importer

Note: See TracTickets for help on using tickets.