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
20 stars 12 forks source link

Cold Chain: Breach type sometimes shows as blank when checking Logs #2828

Open marthakeezy opened 6 months ago

marthakeezy commented 6 months ago

What went wrong? 😲

When checking Logs in omSupply under Cold Chain, Breach Type sometimes appears blank.

screenshot-1706223021133

Expected behaviour 🤔

Breach Type should always be logged/showed

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Run CCA for a few hours to get some data/logs in a temperature where you expect to see a continuous breach
  2. Go to omSupply -> Cold Chain -> Monitoring
  3. Click on Logs
  4. Scroll until you see some blank entries under the Breach Type column

Your environment 🌱

roxy-dao commented 6 months ago

Not all logs are breaches 🤔 would it be possible to grab the datafile you're using to double check if this is an actual bug? Or could you go into the breach tab and see if the breaches there are missing types?

adamdewey commented 6 months ago

@roxy-dao - definitely a bug, albeit a minor one, the sensors are just sitting on Maria's desk so they're all registering one long constant breach.

Can see the logs either side of the blanks are showing the breach correctly

Cheers

DhanyaHerath commented 5 months ago

Triage: try to reproduce + then assess from there

mark-prins commented 5 months ago

I've tried to reproduce, without success so far.

marthakeezy commented 5 months ago

@mark-prins let's leave it running overnight on 3 min intervals after our conversation, and see what comes up tomorrow morning :)

mark-prins commented 5 months ago

All looking good this morning! 😃 We will close this issue and continue monitoring

marthakeezy commented 5 months ago

Thanks for looking into this @mark-prins! Couldn't see any issues on my tablet either - I'll keep an eye out for blank breaches, just going to test on different intervals too :)

adamdewey commented 4 months ago

I can see some in 1.7.00 on this client demo server:

image
adamdewey commented 4 months ago

Navigated away and back again and the older logs now show the breach, with some newer ones not showing - possibly some kind of display issue?

image
jmbrunskill commented 2 months ago

Moved to 2.1 as not high priority