opensrp / openmrs-module-cohort

2 stars 8 forks source link

Enter Cohort Detail - Proper error message like Cohort Name is required #34

Open zohaibihs opened 8 years ago

zohaibihs commented 8 years ago

Enter Cohort Detail - Proper error message like Cohort Name is required, Cohort Description is required, start date is required and end date is required should be appeared when no data is filled.(UI Suggestion - Low)

image

bholagabbar commented 8 years ago

I don't know which older version of the module you tested but these are not the error messages you get. You only get 'required'.

However, I further changed these to something like Cohort Name Required etc. and issued a Pull Request https://github.com/OpenSRP/openmrs-module-cohort/pull/46. Merge it if it's ok or let me know if there are any changes you want in the messages.

bholagabbar commented 8 years ago

Merged the branch for now

zohaibihs commented 8 years ago

Enter Cohort Detail - with out entering any data click to save and skip button - An Internal Error has Occurred java.lang.NullPointerException

image