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

Error when I run the expiring items report with no parameters #4741

Closed DhanyaHerath closed 1 week ago

DhanyaHerath commented 1 week ago

What went wrong? 😲

If I run the expiring item report without entering in any parameters:

image

I then get this error:

image

Expected behaviour 🤔

I would like....no error

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Go to Reports > Expiring Item
  2. Click on OK in the modal that comes up, without editing anything
  3. See error

Your environment 🌱

mark-prins commented 1 week ago

fixed - the report definition needs to be copied manually and I'd screwed that up when setting up the demo server report