[Koha-bugs] [Bug 27768] New: Saving an item with an invalid dateaccessioned or replacementpricedate throws
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 24 03:36:27 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27768
Bug ID: 27768
Summary: Saving an item with an invalid dateaccessioned or
replacementpricedate throws
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: phil at chetcolibrary.org
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
Steps to reproduce:
1. Edit any item, change either the "d - Date acquired" or "w - Price effective
from" to anything not-a-date (I like 24.99, due to mispasting Replacement price
into Price effective from
2. Save the record
Actual result:
Invalid value passed, items.replacementpricedate=2 expected type is date at
/usr/share/perl5/Exception/Class/Base.pm line 88
You can hit Back in the browser to go back and fix it, assuming you know what
an items.replacementpricedate is or have an English speaker handy to tell you
it's the Дата, для якої чинна ціна заміни.
Expected result:
Human readable message in a popup or in the page itself, giving the name of the
field in the editor, rather than the name of the field in 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