[Bug 15423] New: Batch checkout dateformat error
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 Bug ID: 15423 Summary: Batch checkout dateformat error Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: costalc@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com When checking out in batch mode the system crashes: The given date (26/08/2021 00:00) does not match the date format (sql) at /usr/share/koha/lib/Koha/DateUtils.pm line 153. Syspref dateformat is set to dd/mm/yyyy but the error occurs with other dateformat configuration. See image attached please. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 --- Comment #1 from bondiurbano <costalc@gmail.com> --- Created attachment 45988 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45988&action=edit Batch checkout dateformat error -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 bondiurbano <costalc@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Severity|minor |major -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 --- Comment #2 from bondiurbano <costalc@gmail.com> --- Tested in 3.22 and 3.22.1 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch --- Comment #3 from Marc Véron <veron@veron.ch> --- Confirmed for the following situation: Enter 2 valid barcodes Then enter a line with one space character Then enter one more empty line or a barcode e.g. 1 2 3 ('empty' line contains one space character) Result: The given date (13/05/2022 00:00) does not match the date format (iso) at /usr/share/kohaclone/Koha/DateUtils.pm line 153. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 --- Comment #4 from Marc Véron <veron@veron.ch> --- Strange, in circ/circulation.pl the patron's expiration date format suddenly changes: Around line 413, before the line my $issue = AddIssue(... $borrower->{'dateexpiry'} is: 2022-05-13 after Addissue(... $borrower->{'dateexpiry'} is: 05/13/2022 00:00 Digging deeper, the value seems to change in C4/Letters.pm Line 803 (sub _parseletter) $values->{'dateexpiry'} = format_sqldatetime( $values->{'dateexpiry'} ); -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=15429 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 --- Comment #5 from Marc Véron <veron@veron.ch> --- With Bug 15429 applied I can no longe reproduce the issue. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 --- Comment #6 from bondiurbano <costalc@gmail.com> --- Issue resolved applying patch described in bug #15429. Tested in 3.22.1 Thanks Marc! (Should I change the status of this bug to RESOLVED?) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15423 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Marc Véron <veron@veron.ch> --- *** This bug has been marked as a duplicate of bug 15429 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org