ushahidi / tenfour-mobile

TenFour mobile app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some emails are sent multiple times when check-ins have Call or SMS option selected.

AmTryingMyBest opened this issue · comments

Expected Behaviour

Single emails should be sent out for every check-in.

Actual Behaviour

Check-ins are having emails sent out in 10s, 2s, 4s, etc

Steps to Reproduce

  • Create a check-in.
  • Make sure you select Email and Voice Call in Send Via options..
  • Note that when the check-in is going out, 10 emails are sent out instead of one.
  • Also, note that Voice Calls are not made for the check-ins.

Environment

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

Update: Issue still occurs even when check-in is not scheduled, when Send Now has been selected.

@Obadha2 can you try to repro it in production (for normal checkins)? I want to see if it's a regression or not

Update: This happens the same way for SMS too.
Where call option has been selected, 7 SMSs are received.
If not, only one SMS is received.

Confirmed that this happens in production (@mackers checked it for us today ) so it's definitely a bug, but not a regression 🤔 .

  • email, voice, sms = x10 <-- BROKEN
  • email, sms = x1

Fixed now.