You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-07-24] Export to Onyx state not working #45232
However, the DB version in staging/prod could be higher than 1.
It's because there is an extra object store that is coming from old localForage of Onyx that is now replaced with idb-keyval. The workaround is to delete the database and relogin.
What changes do you think we should make in order to solve the problem?
Activity
melvin-bot commentedon Jul 11, 2024
Triggered auto assignment to @isabelastisser (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Jul 11, 2024
Triggered auto assignment to @techievivek (
AutoAssignerNewDotQuality)MelvinBot commentedon Jul 11, 2024
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
techievivek commentedon Jul 11, 2024
I am able to reproduce this on staging.
bernhardoj commentedon Jul 11, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Export to Onyx state doesn't work on staging/prod.
What is the root cause of that problem?
When pressing Export to Onyx state, we try to read the onyx database by passing the name and version (1).
App/src/libs/ExportOnyxState/index.ts
Line 7 in a19ef98
However, the DB version in staging/prod could be higher than 1.

It's because there is an extra object store that is coming from old
localForageof Onyx that is now replaced with idb-keyval. The workaround is to delete the database and relogin.What changes do you think we should make in order to solve the problem?
To fix and prevent the issue in the future, we can open the database without specifying a specific version so it will just open the current database.
34 remaining items
allgandalf commentedon Jul 22, 2024
Chill melvin payment is on 24th
allgandalf commentedon Jul 24, 2024
Note
This is due for payment today, thanks :)
bernhardoj commentedon Jul 24, 2024
Requested in ND.
melvin-bot commentedon Jul 24, 2024
Payment Summary
Upwork Job
BugZero Checklist (@stephanieelliott)
stephanieelliott commentedon Jul 25, 2024
Summarizing payment on this issue:
Upwork job is here: https://www.upwork.com/jobs/~1737876297360310272
allgandalf commentedon Jul 25, 2024
Accepted the offer, thanks :)
stephanieelliott commentedon Jul 25, 2024
All paid! Thanks.
JmillsExpensify commentedon Jul 26, 2024
$250 approved for @bernhardoj
isabelastisser commentedon Jul 29, 2024
Thanks for your help, @stephanieelliott !