[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
Thu Apr 28 11:18:51 CEST 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Current master as of today:

Trying to save 24.99 does no longer work.
Trying to save free text like 'test' does not work.

An empty field results in date of today in record (no problem).

But unfortunately I can still get 0000-00-00 into my records by entering
0000-00-00 into the date field. It is displayed by the date picker as
00-1-11-30 (meaning: November 30 of year -1 ??) but gets stored as 0000-00-00.

Also note: I can also save 0000-01-01. Or 0001-01-01, 0002-02-01, etc. Years
like 0001 are displayed in the date picker as 1901 ?

-- 
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