PharmaLedger-IMI / epi-workspace

ePI use case main repository
MIT License
5 stars 4 forks source link

PWA doesn't display ePI (Leaflet and SMPC) when the batch serial number is invalid #167

Closed nhrishi closed 2 years ago

nhrishi commented 3 years ago

Description PWA doesn't display ePI (Leaflet and SMPC) when the batch serial number is invalid and the Product is configured for display. However, PWA does display Leaflet and SMPC when the serial number is recalled or decommissioned.

Screenshot 2021-04-16 at 2 12 31 PM Screenshot 2021-04-16 at 2 12 20 PM

Acceptance criteria - PWA should display eLeaflet and SMPC if the product is configured to display when the serial number is invalid.

Replication steps -

  1. Create a new product and select all options under the Display ePI
  2. Create a batch with enabled serial number check and enter all the serial numbers under valid, recalled and decommissioned
  3. Scan the 2D matrix with an invalid serial number.
  4. PWA wouldn't show the leaflet/SMPC
nhrishi commented 3 years ago

With the new release, I am seeing exactly the opposite issue now. The Display EPI flag is disabled for invalid serial numbers but PWA still shows the ePI and SMPC.

Screenshot 2021-04-21 at 7 43 46 PM Screenshot 2021-04-21 at 7 44 09 PM Screenshot 2021-04-21 at 7 44 55 PM
rite2bala commented 3 years ago

Tested_Product_DisplayEPI_Flags and Scenarios.xlsx

We have tested all the cases mentioned in the attached excel and it works fine. Issue can be considered as resolved.