-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace - Endless loading after delete the Workspace #7361
Comments
Triggered auto assignment to @joelbettner ( |
I've encountered this and I get the error |
I would like to work on this one if possible. |
It's probably not an out of storage error I think the actual problem is we're calling Onyx.set with null and AsyncStorage rejects that We should either
|
This must be an update to AsyncStorage that happened recently as before it was working with setting a key to null Or maybe it only happens for multi set... But I'm certain I saw AsyncStorage complaining for adding a null value yesterday |
I'm sorry it seems I've introduced this bug here: https://github.com/Expensify/react-native-onyx/blob/41c0ee3fae92f644463d3d95fd510eb0142f950c/lib/storage/providers/AsyncStorage.js#L9-L21 I thought I had this covered in the storage provider unit tests... I think we can just stringify everything including Here we see that AsyncStorage would throw an error for a We do have a unit test verifying using set with |
Opened a PR to fix Onyx: Expensify/react-native-onyx#117 |
The Onyx PR was merged, updating App's package should be enough to fix the issue |
Submitted a PR to update Onyx and tested all platforms: #7370 |
@kidroca I'm going to close this issue. Feel free to re-open if need be. |
@kidroca , I was able to fill the OnyxDB, and everything, including chrome crashed, chrome also has gone to eternity. this causes many issues ... |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The Workspace deleted successfully
Actual Result:
Endless loading after delete the Workspace
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.32. 0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5416538_Scroll_21.01.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: