[Koha-bugs] [Bug 14969] Remove C4::Dates from serials/*.pl files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 6 00:13:00 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14969

--- Comment #7 from Marc Véron <veron at veron.ch> ---
Created attachment 44526
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44526&action=edit
Bug 14969: (followup) Handle invalid date input

This patch fixes software errors if invalid dates are given while adding or
editing a subscription (see comment #5).

Subscriptions with invalid dates will be saved with empty dates. A warning will
appear on the subscription detail page

Note: Before C4::Dates removal, wrong dates like 33/33/2033 created valid
fantasy
      dates in the future.

To test:
- Create and edit subscriptions with valid dates, verify that subscriptions are
  correctly defined
- Bypass datepickers by manually entering dates like 00/00/0000 or 33/33/2999,
verify
  that subscriptions are saved, but a warning appears on the subscription's
detail
  page.

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


More information about the Koha-bugs mailing list