Holdings Templates not working with stat cat data

Bug #1999696 reported by Mary Llewellyn
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
3.9
Fix Released
Undecided
Unassigned

Bug Description

We require a stat cat with our items to fill in data for a report to our state library.

In 3.9.1, we experience the following:

If the Holdings Template is created in Admin/Local Admin/Holdings Template Editor with the stat cat field filled in, then when the template is applied in the Holdings Editor, the stat cat value is filled in but does not turn green as the Shelving Location and Circ Mod fields do.

If the template is set up in the Holdings Editor and includes the stat cat, when we try to apply it later, then the value for the stat cat is not filled in.

See the attached document with illustrations.

Revision history for this message
Mary Llewellyn (mllewell) wrote :
description: updated
Revision history for this message
Guruprasad (lgp171188) wrote :

Hi,

Even though you have reported this bug against Launchpad itself, I can see that it has nothing to do with Launchpad. Can you let us know which project you intended to file this bug report against so that we can move this bug to that project?

Changed in launchpad:
status: New → Invalid
Revision history for this message
Mary Llewellyn (mllewell) wrote :

Sorry, Launchpad kicked me out with an Oops message yesterday and I didn’t realize that I came back in the wrong area.

It was meant to be posted as a bug in Evergreen.

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks, reopening and moving there.

affects: launchpad → evergreen
Changed in evergreen:
status: Invalid → New
tags: added: cat-templates statcats
Beth Willis (willis-a)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Beth Willis (willis-a) wrote :

I can confirm that if the template is created in the standalone editor, the statcat values are saved as part of the template. When the template is created in the holdings editor, the statcat values are not retained after the template is saved.

Michele Morgan (mmorgan)
tags: added: cat-holdingseditor
Revision history for this message
Ruth Frasur Davis (redavis) wrote :

Also confirming this issue in 3.9.1.

Changed in evergreen:
assignee: nobody → Jessica Woolford (jwoolford)
Revision history for this message
Beth Willis (willis-a) wrote :

Adding to my original comment (#5) to confirm that when a holdings template that was created in the standalone editor is applied to an item in the angular holdings editor, statcat values included in the template are applied to the item. However, these values are NOT highlighted in green as they are in the old holdings editor.

Revision history for this message
Jessica Woolford (jwoolford) wrote :
tags: added: pullrequest
Changed in evergreen:
assignee: Jessica Woolford (jwoolford) → nobody
Revision history for this message
Beth Willis (willis-a) wrote :

I have tested this patch on our 3.9.1 server and it works as expected. When a holdings template that includes stat cat values is applied in the holdings editor, the stat cat values are set correctly for the item. This is true regardless of whether the holdings template was created in the standalone template editor or in the holdings editor. The stat cat values are not highlighted in any way when the holdings template is applied, however. This is different from the old holdings editor, where stat values included in the template were highlighted in green when the template was applied. This highlighting is a useful visual cue for staff that the template being applied is the correct one. However, this issue can be addressed in a separate bug report.

I have tested this code and consent to signing off on it with my name, Beth Willis and my email address, willis@noblenet.

tags: added: signedoff
Michele Morgan (mmorgan)
Changed in evergreen:
assignee: nobody → Michele Morgan (mmorgan)
milestone: none → 3.10.1
Revision history for this message
Michele Morgan (mmorgan) wrote :

This works for me also, allowing stat cats and their values to be saved in templates created and edited in the angular holdings template editor.

Pushed to master, rel_3_10 and rel_3_9.

Thanks Jessica and Beth!

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Michele Morgan (mmorgan) → nobody
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.