Bug 31285

Summary: Regression: item.datelastseen does not update on duplicating item
Product: Koha Reporter: Donna <bwsdonna>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, m.de.rooy
Version: 21.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Donna 2022-08-02 20:38:27 UTC
Previous to 21.11, when you would duplicate an item record, the date last seen would be automatically updated. This no longer happens - the date last seen is retained from the original item.

To replicate:
From a bib record with an item attached, select Edit - Edit items
From the actions tab, select duplicate
Update the date accessioned and click save
From the Normal tab, note that the new item has an updated date accessioned, but the date last seen has not been updated.

This behavior is now different from when adding a new item - when a new item is added, the date last seen is automatically set to the current date.  This is the expected behavior when adding an item.
Comment 1 Jonathan Druart 2022-08-09 10:39:09 UTC
This should be fixed by bug 31179.

*** This bug has been marked as a duplicate of bug 31179 ***