[OPEN-ILS-DEV] offline blocked list

Bill Ott bott at grpl.org
Mon Jun 16 14:48:04 EDT 2008


Strange doings with the offline blocked list.

When running offline-blocked-list.pl, I end up missing one user.  I 
don't see any rhyme or reason for which user it drops, but it seems 
consistent.

For instance, I currently have 4 users set to barred:

evergreen=# select count(*) from actor.usr where barred = 't';
 count
-------
     4



When I run the script, I only receive 3:

$ /openils/bin/offline-blocked-list.pl /home/opensrf/.srfsh.xml srfsh
-> echo "open-ils.storage open-ils.storage.actor.user.lost_barcodes" | 
/openils/bin/oils_requestor -f /home/opensrf/.srfsh.xml -c srfsh -h 
blade9.grpl.org
-> echo "open-ils.storage open-ils.storage.actor.user.barred_barcodes" | 
/openils/bin/oils_requestor -f /home/opensrf/.srfsh.xml -c srfsh -h 
blade9.grpl.org
16822707 B
P19751013 B
910911 B
-> echo "open-ils.storage 
open-ils.storage.actor.user.penalized_barcodes" | 
/openils/bin/oils_requestor -f /home/opensrf/.srfsh.xml -c srfsh -h 
blade9.grpl.org




More information about the Open-ils-dev mailing list