default classification scheme OU setting not retrieved properly
Bug #825303 reported by
Galen Charlton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Evergreen | Status tracked in Main | |||||
2.0 |
Fix Released
|
Undecided
|
Unassigned | |||
2.1 |
Fix Released
|
Undecided
|
Unassigned | |||
2.2 |
Invalid
|
Undecided
|
Unassigned | |||
Main |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When inserting a new volume, if the label class is not supplied, the asset.label_
Evergreen: master
Patch available in the working/ Evergreen. git repository at the tip of the branch user/gmcharlt/ lp825303_ fix_default_ class_lookup
Test plan:
[1] Set the cat.default_ classification OU to Dewey (i.e., value = 2) at the root OU and make sure that the setting is not set for any child OU.
[2] Insert an asset.call_number row that doesn't specify the label class explicitly, e.g.,
insert into asset.call_ number( creator, editor, record, label, owning_lib) values (1,1, 1234, 'ABC', 3);
[3] Examine the label_class value of the new acn row. Without the patch, it should be 1. After the patch is applied, it should be 2.