msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 15 forks source link

Unable to import Fridge-tag #5350

Open marthakeezy opened 6 days ago

marthakeezy commented 6 days ago

What went wrong? 😲

Unable to import Fridge-tag - getting the following error

Screenshot 2024-11-07 at 4 07 58 PM

It works fine with the Q-tag, but not the Fridge-tag!

Expected behaviour 🤔

Should be able to import a Fridge-tag

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Connect one of the Fridge-tags to your device
  2. Go to Cold chain -> Monitoring -> Import Fridge-tag
  3. Locate the file and attempt to upload
  4. See error!

Your environment 🌱

lache-melvin commented 5 days ago

Hey @marthakeezy - needing a little more context...

Can you confirm it's not this issue? https://github.com/msupply-foundation/open-msupply/issues/4755 (Do you have another store that also have fridge tags imported? If so, can you import okay into that store?)

If not, can you confirm if this is only in 2.4.0-test, or also in 2.3?

marthakeezy commented 5 days ago

It is actually entirely possible that Fridge-tag has already been imported into another store, as we just grabbed it off Carl, however I am running SQLite3 (issue you linked mentions postgress). Also happening in V2.3.2-RC1

lache-melvin commented 5 days ago

Oh sorry, I meant in your datafile, do you have any other stores, which might have fridge tags already imported into them? Though yes, I think that is just PG...

marthakeezy commented 5 days ago

I do - on my remote site, I have one store with a Q-Tag and a Fridge-tag imported

lache-melvin commented 5 days ago

..haha, you have only one store, or another store than the one pictured, that already has the fridge tag imported?

marthakeezy commented 5 days ago

The one pictured in the issue is my Central Server store I have another remote site on the same datafile, with a Q-tag and a Fridge-tag imported

lache-melvin commented 5 days ago

Are you able to import this fridge tag into that store?

marthakeezy commented 5 days ago

Nope, can't import into that store either - I initially tried on a remote site and then tried on my central server one just in case. Running into the same error on both