Bug 40014 - Preservation module does not support authorized value ETAT
Summary: Preservation module does not support authorized value ETAT
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Preservation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-28 09:55 UTC by Marion Durand
Modified: 2025-05-28 09:55 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marion Durand 2025-05-28 09:55:33 UTC
Many UNIMARC installation uses the authorized value "ETAT" (present in default Koha but not used by default) instead of "NOT_LOAN". This is not taken into account in the preservation module.

This can lead to invalid value when field 995$o (status or not for loan) is filled by Koha with a value in the authorized value "NOT_LOAN" that is not present in the authorized value "ETAT" that is mapped to the 995$o.

To reproduce :

O- On a UNIMARC Koha
1- Add some values in the authorized value ETAT
2- Make sure the authorized value NOT_LOAN contains at least a value that is not in ETAT.
3- Update the Default bibliographic framework field 995, subfield o to use the authorized value ETAT.
4- Activate the preservation Module with the system preference PreservationModule.
5- Select a value that is in NOT_LOAN but not in ETAT in system preferences PreservationNotForLoanDefaultTrainIn and PreservationNotForLoanWaitingListIn.
6- Go in the preservation module
7- Pick an item with an emtpy 995$o and add this item to the waiting list
8- Modify the item, check that the 995$o now contains an invalid value in field 995$o, the value in the field is followed by "(Not an authorised value")