-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
I get this crash in the IOS simulator, the crash seems to come from here:
When we get an Onyx update setting a deleted workspace to null.
From the AsyncStorage.multiMerge documentation, it seems like for a pair of key / value, it is expected that the value is a string (stringified JSON).
I'm wondering if we should be calling JSON.stringify on the value if the value is null (JSON.stringify(null) === 'null'). Alternatively, maybe if the value is null we should be clearing the keys from the storage using Storage.multiClear.
Action Performed:
- Login in IOS
- Create a workspace
- Delete the workspace
Expected Result:
Workspace get deleted, no error
Actual Result:
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
- iOS
Version Number:
Reproducible in staging?:
Reproducible in production?:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
