I noticed an issue during regression tests - errors on the "Adjustments", "Receive" and "Issue" screens show up immediately after tabbing to or clicking on another element in the same row. According to the OLMIS-2914, it shouldn't be the case. The issue occurs on both browsers.
Reproduction steps:
Log into the application as administrator.
Go to Stock Management > Adjustments.
Start making adjustments for any program (e.g. Family Planning).
Add e.g. Levora and no lot defined to the table.
Click the "Reason" select, tab to/click on the "Quantity" field and click on/tab to the "Date" field.
Errors show in the "Quantity" field and in the pagination after going to the "Date" field, which shouldn't happen.
Go to Stock Management > Issue.
Start making issue for any program (e.g. Family Planning).
Add e.g. Levora and no lot defined to the table.
Click the "Issue To" select, tab to/click on the "Quantity" field and click on/tab to the "Date" field.
Errors show in the "Quantity" field and in the pagination after going to the "Date" field, which shouldn't happen.
Go to Stock Management > Receive.
Start making receive for any program (e.g. Family Planning).
Add e.g. Levora and no lot defined to the table.
Click the "Received From" select, tab to/click on the "Quantity" field and click on/tab to the "Date" field.
Errors show in the "Quantity" field and in the pagination after going to the "Date" field, which shouldn't happen.
Go to Stock Management > Unpack.
Start making adjustments for any program (e.g. Family Planning).
Add e.g. Levora and no lot defined to the table.
Click on the "Quantity" field and click on/tab to the "Date" field.
Errors show in the "Quantity" field and in the pagination after going to the "Date" field, which shouldn't happen.
Expected behavior:
The error in the "Quantity" field should appear only after clicking outside it or after trying to submit the form;
The error in the pagination should appear only after trying to submit the form.
I confirm the issue.
Tested on UAT3
username: administrator,
program: EPI ,
facility: Deposito Distrital Cuamba
product: RotaTeq(1dose), lot code: No lot defined
The issue is still valid.