lp10962307 renewing items ACTOR_USER_NOT_FOUND err collab/phasefx/renew_ui_fix
authorJason Etheridge <jason@esilibrary.com>
Wed, 9 Jan 2013 20:14:27 +0000 (15:14 -0500)
committerJason Etheridge <jason@esilibrary.com>
Wed, 9 Jan 2013 20:14:27 +0000 (15:14 -0500)
This fix simply stops the Skull & Crossbones error dialog from happening when a
renewal call results in ACTOR_USER_NOT_FOUND.  It doesn't address the fact that
we used to get ACTION_CIRCULATION_NOT_FOUND instead, which is more fathomable by
staff.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/circ/util.js

index 5e766b2..659d524 100644 (file)
@@ -3747,6 +3747,7 @@ circ.util.renew_via_barcode = function ( params, async ) {
                         case 0 /* SUCCESS */ : break;
                         case null /* custom event */ : break;
                         case 5000 /* PERM_FAILURE */: break;
+                        case 1002 /* ACTOR_USER_NOT_FOUND */ : break;
                         case 1212 /* PATRON_EXCEEDS_OVERDUE_COUNT */ : break;
                         case 1213 /* PATRON_BARRED */ : break;
                         case 1215 /* CIRC_EXCEEDS_COPY_RANGE */ : break;