Angular Catalog: Placing Suspended Hold allows Activation Date in the past

Bug #1903357 reported by Michele Morgan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.6
Fix Released
Undecided
Unassigned

Bug Description

Evergreen 3.6

When a staff member places a hold on behalf of a patron and suspends the hold at time of placement, an activation date can be set.

The Angular Catalog allows a date in the past to be chosen and saved.

In the Traditional catalog a pop-up prevents a past date from being saved.

Bug 985957 fixed this in the Traditional catalog

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
tags: added: holds
Revision history for this message
John Amundson (jamundson) wrote :

I am currently testing 3.6.1 for CW MARS.

I can confirm "seeing" this behavior.

In our setup, however, even when an activation date is set on the Place Hold screen, no actual thaw_date is stored with the hold, regardless of if the chosen date was in the past or future. This only happens with the Angular Catalog.

Are you finding this to be true, as well, or are you seeing thaw_dates actually being attached?

Revision history for this message
Michele Morgan (mmorgan) wrote :

To answer John's question, I am seeing thaw_dates stored in holds that are suspended at time of placement. I've confirmed on three local servers that they are storing as they should in 3.6.1, 3.6.2, and 3.6.3.

Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :

Here's a fix:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1903357-angstcat-thaw-date-past

It includes 2 commits, one which allows you to clear the thaw date once a value has been applied (and have it actually update the model), then a second to enforce a future thaw date.

tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.7.2
assignee: Bill Erickson (berick) → nobody
Erica Rohlfs (erohlfs)
Changed in evergreen:
assignee: nobody → Erica Rohlfs (erohlfs)
Revision history for this message
Erica Rohlfs (erohlfs) wrote :

I tested on Terran's Test Server 1 for Feedback, but I'm seeing the same behavior; I can still set an active date in the past and successfully place a hold. I'm un-assigning myself, so someone else can test.

Changed in evergreen:
assignee: Erica Rohlfs (erohlfs) → nobody
Changed in evergreen:
assignee: nobody → Josh Stompro (u-launchpad-stompro-org)
Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

I tested this on Terran's test server 1, and it seems to be working fine. This is just for the Angular staff interface, so that is the only interface I tested.

When I choose a date that isn't in the future, there is an error popup and it isn't possible to place the hold. I can clear the date by selecting it and deleting it, which clears the date selector... which I think is what the second patch is about.

I confirmed that the hold placed was frozen and did have an activation date set.

I'll submit a signoff branch as soon as I have a chance.
Josh

tags: added: signedoff
Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :
Changed in evergreen:
assignee: Josh Stompro (u-launchpad-stompro-org) → nobody
Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :

Merged to 3.6 and up. Thanks, All.

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Bill Erickson (berick) → nobody
Dan Briem (dbriem)
tags: added: circ-holds
removed: holds
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.