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

--- Comment #7 from Marc VĂ©ron <ve...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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/

Reply via email to