[Koha-bugs] [Bug 6029] Date processing not done to all dates in overdue mails

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 18 00:06:55 CEST 2011


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |katrin.fischer at bsz-bw.de
       Patch Status|Needs Signoff               |Failed QA

--- Comment #2 from Katrin Fischer <katrin.fischer at bsz-bw.de> 2011-07-17 22:06:55 UTC ---
I tested this with following ODUE template:

copyrightdate <<biblio.copyrightdate>>
datecreated <<biblio.datecreated>>
publicationyear <<biblioitems.publicationyear>>

itemscontent
<<items.content>>

./misc/cronjobs/overdue_notices.pl -v -itemscontent dateaccessioned,
replacementpricedate, datelastborrowed, datelastseen, onloan

Result:
Illegal Date '1990-09-23' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Illegal Date '2020-12-31' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Illegal Date '1958-05-30' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Use of uninitialized value $fine in string at
./misc/cronjobs/overdue_notices.pl line 676.
Illegal Date '1973' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534
Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at
/home/katrin/kohaclone/C4/Letters.pm line 534

Message created:
copyrightdate 

datecreated 

publicationyear 



itemscontent

07/17/2011

For comparison, output BEFORE applying patch:
copyrightdate 1973

datecreated 2011-07-17

publicationyear 



itemscontent

07/17/2011

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list