Angular Holdings editor not honoring required stat cat

Bug #1965448 reported by Mary Llewellyn
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.8
Fix Released
Medium
Unassigned

Bug Description

Webclient 3.8 Angular Holdings editor

What I expected:

We have a required copy statistical category for our state's circulation codes. If an item is created without setting a value for this stat cat, I expect the Apply/Save/Exit button to be inactive, and that there be a visual cue that the stat cat is required.

What happened:
I left the stat cat as unset and was still able to save and exit the item.
No visual cue was apparent.

tags: added: cataloging
description: updated
Revision history for this message
Mary Llewellyn (mllewell) wrote :

When we include the stat cat in a template and apply it, the other fields (shelving location and circ mod) in the template turn green and a red asterisk appears after the field name. While the value for the stat cat is filled in, it does not turn green and no asterisk appears.

Revision history for this message
Mary Llewellyn (mllewell) wrote :

When I look at the item in the Angualar JS Holdings Editor, the stat cat field was not filled in at all. This reflects the behavior of the applied template not turning the field green in the Angular Holdings Editor.

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Confirmed you can save an item without entering the required stat cat in 3.9. There is also no indication in the holdings edotpr that the stat cat is required.

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

Here's a branch:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1965448-volcopy-required-stat-cats

The branch also removes 'pending changes' alerts that appear when navigating between holdings editor tabs. Otherwise, you can end up in scenarios where it warns of pending changes, but you cannot save them because save is disabled due to lack of a required value.

Warning for pending changes when navigating between tabs should never have been implemented, anyway, since no changes are lost when that happens. Warnings will still appear if the user attempts to navigate away.

Changed in evergreen:
milestone: none → 3.9.1
assignee: Bill Erickson (berick) → nobody
tags: added: pullrequest
Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Medium
tags: added: regression
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :

Works for me. Pushed to master, rel_3_9, and rel_3_8. Thanks, Bill!

Changed in evergreen:
status: Confirmed → In Progress
status: In Progress → Fix Committed
assignee: Galen Charlton (gmc) → 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.