Skip to content

App crashing when using invalid password to delete account

Summary

App crashing when using invalid password to delete account

Steps

  • Create a new throwaway account
  • Go to Settings > Deactivate
  • Click on Delete
  • Enter a wrong password for the account
  • Screen goes blank for a sec and then crashes

Platform information

Version: 3.12.0 RC5

Device: Samsung S9+ / Android

What is the current bug behavior?

App crashes, can recover by hitting home button.

What is the expected correct behavior?

App should not crash or redirect as it is, you should be able to re-enter password.

Relevant logs and/or screenshots

this.props.user.me.getAvatarSource is not a function. (In 'this.props.user.me.getAvatarSource()', 'this.props.user.me.getAvatarSource' is undefined)
STACK:

    in S
    in inject-S-with-channel-user
    in RCTView
    in RCTScrollView
    in f
    in h
    in RCTView
    in o
    in RCTView
    in SafeAreaView
    in n
    in inject-n-with-onboarding-hashtag
    in p
    in C
    in p
    in RCTView
    in RCTView
    in RCTView
    in s
    in RNSScreen
    in s
    in n
    in h
    in E
    in RNSScreenContainer
    in n
    in RCTView
    in s
    in PanGestureHandler
    in b
    in p
    in RCTView
    in P
    in k
    in C
    in h
    in p
    in RCTView
    in s
    in RNSScreen
    in s
    in n
    in h
    in E
    in RNSScreenContainer
    in n
    in RCTView
    in s
    in PanGestureHandler
    in b
    in p
    in RCTView
    in P
    in k
    in C
    in h
    in p
    in p
    in C
    in k
    in p
    in n
    in P
    in RCTView
    in RCTView
    in o

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited by Bill Ottman