You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2024. It is now read-only.
Describe the bug
On the mainline page, if you try to send a tag to the clinic that never got a serial number assignment on the Tag Assignment page, the AJAX request will return a 500 error (visible in the browser console). These tags show up as "S/N not found" in the "Send to Clinic" dropdown.
To Reproduce
Go to the mainline page
Place some tags in a zone (in the real world), and select that zone using the dropdown on the mainline page
Click the "Send to Clinic" button
Select a tag without a serial number assigned (shows up as "S/N not found" in the dropdown)
Press "Send to Clinic"
Observe the 500 error in the browser console. Additionally, the modal doesn't close.
Expected behavior
The user should either:
A. Receive an error message stating that the selected tag needs to be assigned a serial number first, or
B. Not be able to initiate such a request for a non-assigned tag in the first place, or
C. Be able to send the tag anyway, possibly with a warning that the tag is not assigned.
Describe the bug
On the mainline page, if you try to send a tag to the clinic that never got a serial number assignment on the Tag Assignment page, the AJAX request will return a 500 error (visible in the browser console). These tags show up as "S/N not found" in the "Send to Clinic" dropdown.
To Reproduce
Expected behavior
The user should either:
A. Receive an error message stating that the selected tag needs to be assigned a serial number first, or
B. Not be able to initiate such a request for a non-assigned tag in the first place, or
C. Be able to send the tag anyway, possibly with a warning that the tag is not assigned.