[Koha-bugs] [Bug 2870] Adding a guarantor using 'Add Child' tab is buggy.
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Wed Jan 28 15:56:36 CET 2009
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2870
------- Comment #10 from joe.atzberger at liblime.com 2009-01-28 06:56 -------
> this dies with a fatal, on the latest 3.0.x branch
> but.. grabbing the latest version of Dates.pm from HEAD seems to fix this ;)
> ... the problem...
> in memberentry.pl the 'C4::Dates->today('iso')' call was returning undef,
> not a date
I don't see how you could get the fatal you describe. What is the actual
error? Do the logs say anything about not matching regexp for 'iso'?
C4::Dates->today('iso') is equivalent to:
C4::Dates->new()->output('iso')
And that is unerlying implementation for that case of "today" as well. But
since constructor calls and output seem to be working elsewhere in the script,
that's why I can't see how your today() call would return undef.
>
> Joe/Galen: are the recent fixes in Dates.pm safe to push to 3.0.x?
>
Yes, specifically my two patches from 2009-01-07 are safe to backport.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list