[Koha-bugs] [Bug 14036] "Date::Calc::Add_Delta_YM(): not a valid date" error when accessing subscription detail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 23 13:00:12 CEST 2015


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

Rolando Isidoro <rolando.isidoro at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |rolando.isidoro at gmail.com
                   |ity.org                     |

--- Comment #1 from Rolando Isidoro <rolando.isidoro at gmail.com> ---
Created attachment 38399
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38399&action=edit
Patch that adds date validation

This patch adds validation to prevent the error from occurring.

Test plan

Before applying the patch

1 - In the intranet interface pick a serial biblio record with a subscription
with empty "Planned date" and/or "Published date";
2 - Click the "Subscription(s)" tab on the left side;
3 - Click the subscription title link to view it's detail;

The error should occur at this point.

Apply the patch, follow the 3 steps from the test plan and the error shouldn't
show up anymore.

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