Hold note count and text not displayed

Bug #1109316 reported by Kyle Tomita
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
2.2
Fix Released
Medium
Unassigned
2.3
Fix Released
Medium
Unassigned

Bug Description

This is a bug regarding the "Hold Note(s) Count" and "Hold Note(s) Text" are not populated on the Patron Holds List View, Patron Holds Details View, Bib Record List View, and Bib Record Details View. The hold has 1 or more notes and the count stays at 0 and the Hold Note(s) Text column is empty.

This is related to Bug #691597 but expands it to include List views as well and includes the Hold Note(s) Text column.

Added screenshots in comments.

Revision history for this message
Kyle Tomita (tomitakyle) wrote :

Hold Note count and text not displayed in Bib Record Hold Details View

Revision history for this message
Kyle Tomita (tomitakyle) wrote :

Hold Note count and text not displayed in Bib Record Hold List View

Revision history for this message
Kyle Tomita (tomitakyle) wrote :

Hold Note count and text not displayed in Patron Hold Details View

Revision history for this message
Kyle Tomita (tomitakyle) wrote :

Hold Note count and text not displayed in Patron Hold List View

description: updated
Srey Seng (sreyseng)
Changed in evergreen:
status: New → Confirmed
Kyle Tomita (tomitakyle)
tags: added: pullrequest
Revision history for this message
Kyle Tomita (tomitakyle) wrote :
Revision history for this message
Pasi Kallinen (paxed) wrote :

The "Hold Note(s) Count" and "Hold Note(s) Text" column update just fine when the hold type is 'C'; this happens (only?) when the hold type is 'T'.

Tested the branch above, and the fix works. My signoff at http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/paxed/lp1109316-signoff

tags: added: signedoff
Kyle Tomita (tomitakyle)
Changed in evergreen:
milestone: 2.4.0-alpha → 2.3.4
milestone: 2.3.4 → 2.4.0-alpha
Revision history for this message
Kyle Tomita (tomitakyle) wrote :
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-alpha1 → 2.4.0-beta
Revision history for this message
Dan Wells (dbw2) wrote :

Kyle, thanks for reporting and working out a solution to this bug. I wonder, though, whether this fix is the right direction to go.

It seems at one time the hold "blob" had the notes attached, then they disappeared. Tracing the problem back a step further, then, it looks like the hold fetching code has a logic error on the server side. Basically, it is hiding staff notes from the staff instead of the user (and vice versa).

Here is a branch to address that problem, which in turn fixes the client display:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbwells/hold_blob_note_fetch

working/user/dbwells/hold_blob_note_fetch

In addition, I have pushed an additional commit on this branch to allow public notes to be seen in appropriate cases. While not strictly part of this bug, it seems sensible to include it, provided my understanding of the original intentions are correct.

Finally, I didn't check all the variations of this bug, so please report back if this doesn't solve them all, and we can see what additional work needs to be done.

Ben Shum (bshum)
no longer affects: evergreen/master
Changed in evergreen:
milestone: 2.4.0-beta → 2.4.0-rc
Revision history for this message
Kyle Tomita (tomitakyle) wrote :

Tested Dan's solution and it works with current master, here is my branch, http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/catalystit/lp1109316-signoff

Revision history for this message
Kyle Tomita (tomitakyle) wrote :
Revision history for this message
Dan Wells (dbw2) wrote :

Pushed to master, rel_2_3, and rel_2_2. Thank you very much for testing, Kyle.

Changed in evergreen:
status: Triaged → Fix Committed
Ben Shum (bshum)
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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