LP#1683575 - Webstaff fix silent fail of bad barcodes in ItemStatus
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Wed, 16 Aug 2017 21:39:30 +0000 (17:39 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 30 Aug 2017 21:52:14 +0000 (17:52 -0400)
commit4fc789e90bc31f98cd3adb3898ee2d5e23bca3b8
treedcfc18a842615ca0f68746df6065454384870f37
parent18d1064ed6df5dee42f0987ec71040fc9f5dd7bd
LP#1683575 - Webstaff fix silent fail of bad barcodes in ItemStatus

This address the current issue in master, that causes bad barcodes
to fail silently.

To test
-------
[1] In the web staff client, go to Item Status and enter an item
    barcode that is not present in the database. Note that no
    warning message displayed.
[2] Apply the patch and repeat step 1. This tie, an 'Item Not Found'
    message is displayed.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/services/item.js