Bug 17167 - Koha has two separate renewal responses
Summary: Koha has two separate renewal responses
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: SIP2 (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-23 15:17 UTC by Christopher Brannon
Modified: 2016-08-23 15:29 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Brannon 2016-08-23 15:17:59 UTC
When checking an item out through SIP and the item has hit it's renewal limit, Koha responds with "Item has reached maximum renewals", but when renewing an item through SIP and the item has hit it's renewal limit, Koha responds with "NO_MORE_RENEWALS: 1 ".

It doesn't make sense that there are different responses for essentially the same thing, even though in this case it is technically two different processes.  Also, the number 1 seems to have no purpose.  I increased the number of renewals, and this number doesn't change, so I don't know what it is supposed to be indicating.  This makes trapping renewal limits more tedious.  I would recommend the following changes to these responses.

1. Have the checkout and renewal processes through SIP respond with the same "Item has reached maximum renewals."
2. Note the period added to the end of the response.
3. Note the removal of the space at the end of the renewal response.
Comment 1 Christopher Brannon 2016-08-23 15:26:21 UTC
Since renewals can be blocked by holds, I'll revise my wish list here:

1. Have the checkout and renewal processes through SIP respond with the same "Item cannot be renewed."
2. Note the period added to the end of the response.
3. Note the removal of the space at the end of the renewal response.
4. The remainder of responses should be reviewed for punctuation and stray spaces.
Comment 2 Christopher Brannon 2016-08-23 15:29:05 UTC
If there is a way to have the messages be more specific about the blocks, such as renewal limit reached or hold on the item, a more specific response would be considered, but the response should be the same whether through the renew process or the checkout process.