[Koha-bugs] [Bug 36466] New: Incorrect date value stored when "Published on" or "Expected on" are empty
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 29 22:14:48 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36466
Bug ID: 36466
Summary: Incorrect date value stored when "Published on" or
"Expected on" are empty
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Serials
Assignee: koha-bugs at lists.koha-community.org
Reporter: hammat.wele at inlibro.com
QA Contact: testopia at bugs.koha-community.org
When we edit a serial and we leave the date fields ("Published on" or "Expected
on") empty
incorrect date are saved in the database 0000-00-00 instade of current date and
we get Error 500
to reproduce
1. Connect to staff interface
2. Go to Serials and create a new subscription
3. Click on Serial collection in the left menu (and note the Subscription
numnber)
4. Select a serial to edit and Click on «Edit serials»
5. In the Serial edition form, delete «Published on > and « Expected on » dates
and save
----> Error 500 page is displayed
6. Check the value of «Published on > and « Expected on » dates in the
database
select planneddate,publisheddate from serial where
subscriptionid=<Subscription numnber in step 3>;
------> planneddate publisheddate have «0000-00-00» value
--
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