pre-cat checkouts always use "default" rule
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
This was reported to me by a site using version 2.1.1 and I also tested on an in house 2.1.0 system. When checking out a pre-cat title, I select the circ mod of Book. I would expect that it would use the circulation rule for Books from the circ matrix. Instead, it always seems to use the "default" circ duration rule no matter what specific circulation rules exist in the circ matrix and no matter what circ modifier I choose when doing the pre-cat check out. In speaking with Jason, it sounded like this is not the intention and that it should be using the circulation matrix to determine the circ rule for each pre-cat item. Here are the steps I took and the text from an error I received.
1. I have a circ matrix in place that has a general rule (uses "default" as the duration). That's for all users and all circ mods. There are also lines in the circ matrix specifically for Books and Videos. The circ duration rule varies from the "default" circ duration.
2. I go to check out to a patron and enter a barcode not in the system.
3. I choose to check out as a pre-cat.
4. I enter title and author info and select the circ mod of Book.
5. The book is checked out. When I look at the item details, it shows that it's using the "default" circ rule and "default" fine rules even though there was a specific duration and fine rule for Books being checked out.
6. In an effort to force the system to use the specific rules, I tried disabling the default line in the circ matrix. I get the following error message which tells me that the system seriously wants the default rule available to use for pre-cats:
Network or server failure. Please check your Internet connection to sales-v21.
method=
params=
THROWN:
{"payload"
STATUS:
7. I click Ignore errors and I get another error that says "network failure" and I click OK. The check out did not occur.
Let me know if you need more info about where I replicated this problem. Thank you for checking into this.
Shae
Changed in evergreen: | |
importance: | Undecided → Medium |
tags: | added: checkout |
tags: |
added: circ-checkout removed: checkout |
tags: | added: precats |
Shae,
I can't speak to the network error you receive, but I can confirm that Pre-cat does indeed use it's own duration rule when using legacy circ scripts.
We have a rule that says to treat all pre-cat's like vanilla books. I've pasted a copy of our scripts below, showing this.
http:// git.evergreen. lib.in. us/git/ ?p=Evergreen. INCustom/ Evergreen/ .git;a= blob;f= Open-ILS/ src/javascript/ backend/ circ/circ_ duration. js;h=a7460690e7 6116f5999290cce 8fc1090d14111cf ;hb=53afc2c5109 abf637d8cf51877 c6915c3c655b39
I know legacy circ is kind of a nasty subject, but I would agree with you that the behavior is as you describe.
I know folks here would LOVE the ability to have the pre-cat circ modifier apply to the circulation. We've had to create policy specifically for pre-cat items so they had their own standard circ rules since we couldn't make this happen.
-Mike