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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/