Skip to content
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

When stopping and restarting mSupply mobile during initialising phase make mobile pull records prematurely #5124

Open
alainsussol opened this issue Feb 28, 2023 · 0 comments
Labels
Bug: ???? Placeholder; replace with 'development' or 'production'
Milestone

Comments

@alainsussol
Copy link

Describe the bug

It seems that if I stop mobile before the initialisation phase is completed and restart it . It starts pulling out records straight away before it finishes initialising and for the three times I tried, the total number of records to pull out were different.

When I open mSupply I have many fields that displays "Placeholder".

image

To reproduce

Steps to reproduce the behaviour:

  1. Connect to mSupply cloud from mobile
  2. When initialising phase starts stop mSupply mobile
  3. restart mSupply and put URL and Site credentials again
  4. See error. Mobile starts pulling records and each time you try the total number of records to pull is different
  5. When all the records have been pulled. open mSupply and see that there is many fields which says Placeholder

Expected behaviour

I think re-initialisation should probbalement pick up where it was when stopping mSupply mobile or restart anew (However the sync records created during the previous will needs to be deleted I suppose

Proposed Solution

Leave if you don't know how to fix/implement. Edit this issue description and explain here if you know the best path of implementing the fix within the codebase.

Version and device info

  • App version: 8.6.3
  • Tablet model: Galaxy TAB A8
  • OS version: Android. Cloud server on Windows 11

Additional context

Found while testing https://github.com/sussol/msupply/issues/11942

@alainsussol alainsussol added the Bug: ???? Placeholder; replace with 'development' or 'production' label Feb 28, 2023
@alainsussol alainsussol added this to the Backlog milestone Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: ???? Placeholder; replace with 'development' or 'production'
Projects
None yet
Development

No branches or pull requests

1 participant