-
Notifications
You must be signed in to change notification settings - Fork 11
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
Migration Pathways between Open mSupply -> Mobile/Desktop : v2.0.0 Release Testing #3699
Comments
Just reiterating from meeting: For #2760, the invoices have to be older than store creation date by 3 months. So would probably need some data manipulation, can you do that through record browser? Or change the time on your device (; The rest of the tests sound good to me! |
yup, can do in v2.0.0-rc2. |
Just noticed that; users created from remote-desktop site after migrating to oms, now those users won't show up; which is technically correct because those users by default are Inactive on mSupply cloud and users in oms are syncing currently to Cloud |
Further observations/questions:
|
|
I see how you're doing the migration and that is very unconventional and definitely not how migration will be done in production so I'm worried about validity of tests there. You should wipe the datafile on OMS and reinitialise generally, though that is a bit of a chore 😕. |
@Chris-Petty here's the breakdown of the steps for Scenario 3:
|
|
While testing mobile-oms migrations, at one point, I ended up migrating back from oms to mobile, which I know is very unlikely to happen at all; but here's one interesting issue:
|
Is the receiving-storeB also OMS? For reference the OMS code that should affect this: open-msupply/server/service/src/processors/transfer/shipment/create_inbound_shipment.rs Lines 89 to 99 in 02a6af0
If storeB is on OMS it is seeing is an invoice made on 2023-12-12, and storeB was created on ????. If storeB.created_date is >2024-01-12 then it will not make the SI (and the central server won't have it either). |
Yes, it is.
storeB was created way before 2024, somewhere around 2023-07-xx. FYI, I've submitted the details in another issue already regrading this: #3734 |
|
Checked this again with mSupply v7-14-02 :
|
Migrate from desktop to oms
Setting up some data in desktop-OG first
nw
&fn
statusExtra currency-setup for desktop
Extra setup to cover #2760
sg
,cn
&fn
on one datesg
orcn
CI'sMigrate desktop-OG to oms
fn
transactions should be finenw
orsg
transactionsnw
CI; go ahead and finalise itnw
IO; go ahead and finalise itcn
SC; go ahead and finalise itExtra currency migrations test
Extra tests to cover #2760
sg
orcn
outbound shipment and try to issue themMigrate from mobile to oms
Setting up some data in mobile-OG first
nw
&fn
statusMigrate mobile to oms
fn
transactions should be finenw
orsg
transactionsnw
CI; go ahead and finalise itnw
IO; go ahead and finalise itnw
stocktake; go ahead and finalise it -same problem as aboveThe text was updated successfully, but these errors were encountered: