Bug 32456: Preserve date accessioned if a date is not explicitly passed
authorNick Clemens <nick@bywatersolutions.com>
Tue, 13 Dec 2022 14:24:13 +0000 (14:24 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Fri, 13 Jan 2023 11:33:57 +0000 (11:33 +0000)
commit655cd366e0fdc33512cfc546301854cc67a6a03a
treed4a98eaddc4a39d72e13d83b08d12ef36677dfbc
parent811f676da0d5ddd500576ad5a5fcbca91c49c03f
Bug 32456: Preserve date accessioned if a date is not explicitly passed

To test:
 1 - Edit an item record to have a blank date accessioned
 2 - Save the record as marcxml from the detail page
 3 - Edit the item to have an accession date
 4 - Stage and import the file - matching in KohaBiblio and replacing items
 5 - Import the file
 6 - Confirm the date accessioned is cleared
 7 - Apply patch
 8 - Provide an accession date for the item
 9 - Stage and import the file again
10 - Confirm the date remained
11 - Edit the item to remove the date
12 - Confirm you can manually blank the field

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2255d42abdb45955e82634a7b6fe1e1af0242361)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
C4/Items.pm