To answer my own question, we found the setting in opensrf.xml for 
legacy_script_support which defaults to true and we tried setting it to false, 
to see if my settings in the new tables would work.  Oops, got an error:

Network or server failure.  Please check your Internet connection to hackberry 
and choose Retry Network.  If you need to enter Offline Mode, choose Ignore 
Errors in this and subsequent dialogs.  If you believe this error is due to a 
bug in Evergreen and not network problems, please contact your help desk or 
friendly Evergreen administrators, and give them this information:
method=open-ils.circ.checkout.full
params=["ec14305730cc54c76fafd425990ac63d",{"barcode":"fm7777","patron":4},1]
THROWN:
{"payload":[],"debug":"osrfMethodException :  *** Call to 
[open-ils.circ.checkout.full] failed for session 
[1237380548.850532.123738054825913], thread trace [1]:\nCan't use an undefined 
value as an ARRAY reference at /openils/lib/perl5/OpenILS/Utils/CStoreEditor.pm 
line 443.\n\n","status":500}
STATUS:

Which may be a problem with the way I set things up in either my test data or 
the two rows I added.  I may not get to look at this today, but we will 
experiment with this a bit before going back to the javascript method, which I 
can see does have a lot of flexibility.

This is not critical, but if anyone has a suggestion about what to fix, let me 
know. 

Frances McNamara
University of Chicago

-----Original Message-----
From: Frances Dean McNamara 
Sent: Monday, March 16, 2009 3:09 PM
To: Evergreen Development Discussion List
Subject: RE: Dumb question about circ setup

Actually, I think I see how to do what I want to do in some earlier example of 
modifications to circ_duration.js

But that does not seem to use these new matchpoint rules, so I guess my 
question is can I do it just in the tables!

Frances

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Frances 
Dean McNamara
Sent: Monday, March 16, 2009 2:56 PM
To: Evergreen Development Discussion List
Subject: [OPEN-ILS-DEV] Dumb question about circ setup

We can circulate in our little test db for 1.4.0.2 and I made my org units and 
some patron groups.

I'd like to fool around with customizing some of the circ rules.  But I think 
I'm missing a step.  I see the circ_duration.js  and I also see the tables, 
where I've a couple of custom rows to 

config.rule_circ_duration

and, what the heck in

config.circ_matrix_matchpoint

and config.circ_matrix_ruleset


Seems like there's not a UI for the circ rule tables but I just thought I'd try 
to get a long circ duration for my faculty user, and a shorter duration for my 
student user by pointing to the duration rows I added.

Do I have to modify .js scripts?  I was hoping my rules in the tables would 
take effect and the system would fall back to the default rules if those did 
not apply. I'm still getting the default duration of 14 days for everybody, 
though.  Can someone point me in the direction of where to make my 
customizations work?  Thanks.

Frances McNamara
University of Chicago 

Reply via email to