[OPEN-ILS-DEV] offline blocked list

Bill Ott bott at grpl.org
Mon Jun 16 22:24:31 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.

I've narrowed it down to this line:
     next if $barcode =~ /^oils/o; # hack to chop out the oils_requestor 
prompt

I find one of the results that looks like this:
    oils# 123456

Replacing the noted "hack" with:
    $barcode =~ s/oils#\s+//;

Works as long as there are values for each, otherwise you'll end up with 
something like:
   oils L

So, another check, or a different substitute should finish it off.






More information about the Open-ils-dev mailing list