Associating an item with a course should handle invalid barcodes better
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Two separate issues that might be easy to take care of together. The first issue is that the course materials module allows staff to add deleted items to a course. The second issue is that it fails silently when users try to add invalid barcodes to a course.
Steps to recreate:
1) In the staff client, go to Admin > Local Admin > Course Reserves List
2) Double click on a course
3) Go to the course materials tab
4) Enter a barcode for a deleted item
5) Note that Evergreen allows the deleted item to be added to the course. Expected behavior is that the user get an error message and the items is not added.
6) Enter a barcode that doesn't exist at all in Evergreen
7) Notice that no item is added and the barcode field clears, but the user isn't informed that the operation failed because they entered an invalid barcode.
Changed in evergreen: | |
status: | New → Confirmed |
Noting that if there are multiple instances of the same barcode in the database, all items with this barcode will be associated with the course, even though only one item is active and the others are flagged as deleted. Please see attached screenshots. This issue is covered by a related bug: https:/ /bugs.launchpad .net/evergreen/ +bug/2037136