[Koha-bugs] [Bug 27768] Saving an item with an invalid dateaccessioned or replacementpricedate throws no helpful error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 4 11:42:30 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27768

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Saving an item with an      |Saving an item with an
                   |invalid dateaccessioned or  |invalid dateaccessioned or
                   |replacementpricedate throws |replacementpricedate throws
                   |                            |no helpful error

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I haven't been able to replicate the problem on 21.05/master, but when you
enter an invalid date there is no error at all now. 

The date widget only shows for $d Date acquired, but it would be nice if it
showed for the other fields as well. Maybe we could detect the data type in the
database or we could add an option to the frameworks to say "is a date".

Instead when you open the record again, it shows as 0000-00-00. So there are
still some changes needed to have a helpful error message.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list