Purpose: Recalls and holds are requests that are made on items that are checked out. If an item isn't checked out, you should not be able to create a recall or hold.
Scenarios:
Scenario:
Given a Create new request page
When:
Request type = Recall AND
An item is selected which does not currently have a Status of Checked out, Checked out - Held or Checked out- Recalled
Then display the field as invalid:
Red exclamation point should appear in the field
Red text should display under the field reading, "Only checked out items can be recalled"
Continue to display the information about the selected item below
In the Current loan section, display "Item not checked out" as shown in the attached wireframe
The scenario tests successfully; recall on an available item is not allowed, and displays as on wireframe.
Matt Connolly December 14, 2017 at 1:56 AM
, this looks like another issue for ; I've created CIRC-55 for it.
Cate Boerema December 13, 2017 at 3:49 PM
You should be able to put holds on items that aren't loaned. Yet when I try to do that, I see this:
Let me know if you want me to file a separate bug for this.
Cate Boerema November 6, 2017 at 8:39 AM
Oops. I meant to put this into Open state again. The scenarios on this one have the thumbs up. It was that we need to hold off on. Sorry for the confusion, but the good news is that you were working on the right thing!
Matt Connolly November 5, 2017 at 1:27 AM
I was working on this before I realized it had been put back into draft. I'll wait until the validation conditions are definite.
Purpose: Recalls and holds are requests that are made on items that are checked out. If an item isn't checked out, you should not be able to create a recall or hold.
Scenarios:
Scenario:
Given a Create new request page
When:
Request type = Recall AND
An item is selected which does not currently have a Status of Checked out, Checked out - Held or Checked out- Recalled
Then display the field as invalid:
Red exclamation point should appear in the field
Red text should display under the field reading, "Only checked out items can be recalled"
Continue to display the information about the selected item below
In the Current loan section, display "Item not checked out" as shown in the attached wireframe