nmrf / sadata

Samoa's Human Rights National Mechanism for Reporting and Follow-up (NMRF) - Client-side application
Other
0 stars 0 forks source link

Indicator Bug: error handling and messages not working as required/expected #11

Closed ashbowe closed 6 years ago

ashbowe commented 6 years ago

Hi Timo,

I just went to add an indicator and came across a small issue (that may actually be two small issues, I'm not sure). I entered information for an indicator and clicked save but nothing happened. I didn't see the error message as it was at the top of the screen and out of sight so could that be brought down to where the save button is?

Additionally it didn't tell me what was wrong and so I didn't know what to fix. I thought it might be because I had put a due date in the past so tried to change that but it still came back with the error message. However, when I copied and pasted the information into a totally new indicator (by going back to the indicator home page) and only changing the date it saved OK.

The issues therefore seemed to be:

Thanks

something wrong

tmfrnz commented 6 years ago

Opened issue for error message out of view: https://github.com/impactoss/impactoss-client/issues/332

tmfrnz commented 6 years ago

Trying to reproduce:

Past due date (new indicator and edit indicator)

Past due dates are allowed and do not result in error (however actual due dates are never generated in the past)

End date before start date (new indicator)

End date before start date (edit indicator)

tmfrnz commented 6 years ago

@ashbowe: I could not exactly reproduce the issue you described. Maybe you can try again, documenting each interaction so I can reproduce?

Ultimately the desired behaviour should be:

tmfrnz commented 6 years ago

Error handling and validation improved in next release.

Leaving open to verify it is working as expected.

tmfrnz commented 6 years ago

@ashbowe: could you verify this is working in the new version as expected? thanks

ashbowe commented 6 years ago

Hi Timo, yes that seems to be working, thanks

tmfrnz commented 6 years ago

Thanks!