[Koha-bugs] [Bug 21487] Disable CataloguingLog syspref in UNIMARC_sync_date_created_with_marc_biblio.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 4 16:02:43 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21487

--- Comment #2 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 79949
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79949&action=edit
Bug 21487: Disable CataloguingLog syspref in
UNIMARC_sync_date_created_with_marc_biblio.pl

Script UNIMARC_sync_date_created_with_marc_biblio.pl edits MARC record to
define 099 $c and $d.
This should not be registered as a cataloguing change in action_logs table.
So script must disable CataloguingLog syspref (if enabled) during its process.

Test plan :
1) Don't apply the patch yet
2) Have the CataloguingLog system preference set to 'Log'
3) Create a new record
4) Count entries in action_logs table
5) Run : UNIMARC_sync_date_created_with_marc_biblio.pl --run -v
6) Check the CataloguingLog system preference is still 'Log'
7) Count entries in action_logs table => there are more
8) Apply the patch
9) Repeate from 3) to 6)
10) Count entries in action_logs table => there are the same

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list