✅ [iOS] Crash: Zero Pot Goal

Issue:
App crashes when setting pot goal to £0

Details to reproduce:

  • Create a Pot
  • Edit the Pot goal to be £0
  • Save
  • Crash

100% reproducible by myself and others.
Divide by Zero on the Progress Bar by chance?

OS:
iOS 12 Beta 10

Device:
iPhone 6s+

App Version:
Latest TF
(Also confirmed by other people on DevSlack using various devices, OSes and app store build)

Screenshots:
N/A

4 Likes

I can replicate this bug on iOS 12 beta 10, latest test-flight, on an iPhone X.

1 Like

Can’t replicate this on Android 8.1

iOS only?

Likely, completely different implementations!

2 Likes

When they implemented pot goals, one of the first comments was from me, stating that you are able to set a pot goal in the trillions, or at £0, which made no sense. This was a very simple validation rule to add, and nothing happened. I’m not shocked to see this has now had a further impact.

2 Likes

Just to further feedback on this bug. After I replicated this bug, the Monzo app always crashed going from the Home tab to the Account tab.

I had to reinstall the app to fix it.

2 Likes

Ahh yeah fun fact if you insert too big of a value (presumably over the max int value) it also crashes. Should probably have a cap on it anyway, not sure how many users are saving £2,147,483,647 in an interest-less Monzo pot.

@james Sorry for tagging you directly, but might be one for your team to look into? :heart:

1 Like