ushahidi / tenfour-mobile

TenFour mobile app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQL Error on front-end when someone tries to create recurrent check-in with missing Until date.

AmTryingMyBest opened this issue · comments

Expected Behaviour

Error message should be plain english for user.

Actual Behaviour

When user tries to create a scheduled check-in with repeated frequency, and they leave the Until field for when the check-in should not be sent anymore, the error message that is shown in SQL.

Steps to Reproduce

  • Create a scheduled check-in with repeated frequency.
  • Fill in all fields as required, but leave the Until date blank.
  • Click Send.
  • The error message is an SQL error.

Screenshot:
Screenshot from 2019-05-07 17-37-48.png

Environment

  • www.tenfour.org
  • app.tenfour.org
  • staging.tenfour.org
  • dev.tenfour.org
  • localhost:8100
  • iOS App (live)
  • iOS App (testflight)
  • Android App (live)
  • Android App (beta)

Fixing this together with the "once" checkin bug since they are related

@Obadha2 please retest