[Koha-bugs] [Bug 22273] New: Column article_requests.created_on should not be updated
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 5 14:31:59 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22273
Bug ID: 22273
Summary: Column article_requests.created_on should not be
updated
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Database
Assignee: koha-bugs at lists.koha-community.org
Reporter: m.de.rooy at rijksmuseum.nl
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
`created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP,
`updated_on` timestamp NULL DEFAULT NULL,
=> The update clause should not be with created_on.
In addition to this, the Koha::ArticleRequest store method contains:
$self->updated_on($now);
This actually should not have been coded, but left to the database.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list