You can no longer see copy alerts in the in-house use screen

Bug #1788299 reported by Jane Sandberg on 2018-08-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Undecided
Unassigned

Bug Description

This is a regression that I'm seeing in Evergreen 3.1.2 in the Web client. We commissioned jstephenson to make copy alerts display on the in-house use screen. Here's the bug that tracked his development: https://bugs.launchpad.net/evergreen/+bug/1507807

This was very helpful for us, since they were very helpful for us in a number of processes. However, in the web client we can no longer create copy alerts that display in the in-house use screen; just the checkin and checkout screens.

This is a large loss of functionality for us. I also would *really* not prefer a solution in which we have to add separate alerts for in-house use alongside check-in and check-out alerts.

Garry Collum (gcollum) wrote :

I was not able to duplicate this in current master or in 3.0.9.

In current master using the default data I added an alert message to an item and turned on 'Display copy alert for in-house-use' for BR1. The alert message did display when I entered the copy's barcode in the in-house use screen.

In 3.0.9 on turned on 'Display copy alert for in-house-use' for the top OU. The alerts also displayed in the in-house use screen.

Jane Sandberg (sandbej) wrote :

Thanks for digging in to this, Garry. I'm not surprised that you aren't duplicating this in 3.0.9, since the big copy alerts change was released in 3.1 (https://bugs.launchpad.net/evergreen/+bug/1676608). Not being able to duplicate this in current master surprises me, though.

I was able to do the following on the MassLNC 3.1.4 demo server (https://wiki.evergreen-ils.org/doku.php?id=community_servers):

1) Use the Library Settings Editor (https://mlnc4.noblenet.org/eg/staff/admin/local/asset/org_unit_settings) to set "Display copy alert for in-house-use" to true for CONS.
2) Go to item status (https://mlnc4.noblenet.org/eg/staff/cat/item/search)
3) Enter barcode FIC400001583
4) Right click on the item > Add > Copy Alerts
5) Add a normal checkin copy alert.
6) Repeat step 3, add a normal checkout alert.
7) Go to in-house use (https://mlnc4.noblenet.org/eg/staff/circ/in_house_use/index), enter barcode FIC400001583

No alert appears for me in in-house use. It does for checkin and checkout, as expected.

According to my quick scan of the code, it looks like in-house use is still looking for content in the alert_message column in asset.copy, rather than entries in the new asset.copy_alert table. (https://github.com/evergreen-library-system/Evergreen/blob/master/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js#L123)

Garry Collum (gcollum) wrote :

Thanks Jane for the added info. I was indeed testing on an item that had an alert message not a copy alert. Sorry for the confusion.

I tested in master again and I'm setting to confirmed.

Changed in evergreen:
status: New → Confirmed
Remington Steed (rjs7) wrote :

We've done some work related to this (and overlapping with bug #1779222). We'll try to share some code soon.

Jane Sandberg (sandbej) wrote :

Thanks, Garry and Remington!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers