msupply-foundation / mobile

Open source mobile app for medical inventory control
http://msupply.org.nz/mobile
Other
43 stars 27 forks source link

Custom value disturb the normal flow of mobile site setup #5303

Open AnushaUp opened 1 year ago

AnushaUp commented 1 year ago
          The initialisation and setup process for kiribati datafile was extremely slow and took 5 days just for the setup to be completed since the process is stuck in between from time to time and have to restart app and set the credentials again and again.

Maybe due to the process being so lengthy there's problem with the visibility of items and existing items were not visible in the particular store of mobile.

Originally posted by @AnushaUp in https://github.com/openmsupply/mobile/issues/5296#issuecomment-1689446149

To reproduce

Steps to reproduce the behaviour:

  1. Take kiribati datafile
  2. Choose a mobile store and make it active on central server
  3. Now goto the same store and goto Custom fields tab, add a new line and put syncMonths on Field label and Field value: 1
  4. Now put the store on the original site and do the site setup on mobile.
  5. See the setup will take a lots of time and items wont be visible
  6. See error

Expected behaviour

If no transaction will be reduced, then it should take the usual amount of time and custom value should not disturb the normal flow.

Version and device info

Additional context

Found while testing the kiribati upgrade testing