[Bug 7756] New: claim mail is not sent for serial claim
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Priority: P5 - low Change sponsored?: --- Bug ID: 7756 Assignee: colin.campbell@ptfs-europe.com Summary: claim mail is not sent for serial claim QA Contact: koha.sekjal@gmail.com Severity: critical Classification: Unclassified OS: Windows Reporter: jean-manuel.broust@univ-lyon2.fr Hardware: PC Status: NEW Version: master Component: Serials Depends on: 5342 Product: Koha appeared while testing patch 5342 on biblibre sandbox 1 : the mail of claim is not sent not in message queue. Logs says vendor has no mail but it does have ! (apache error claims.pl bookseller without email at home/koha/src/c4/letters.pm line 340) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|PC |All OS|Windows |All Severity|critical |blocker -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I retested on current master and the logs show this message without the patch from 5342 - the bug is not related to the feature itself. It's broken in general. [Mon Apr 09 08:45:09 2012] [error] [client 127.0.0.1] [Mon Apr 9 08:45:09 2012] claims.pl: Use of uninitialized value in concatenation (.) or string at /home/katrin/kohaclone/C4/Letters.pm line 340., referer: http://localhost:8080/cgi-bin/koha/serials/claims.pl [Mon Apr 09 08:45:09 2012] [error] [client 127.0.0.1] [Mon Apr 9 08:45:09 2012] claims.pl: Bookseller without emails at /home/katrin/kohaclone/C4/Letters.pm line 340., referer: http://localhost:8080/cgi-bin/koha/serials/claims.pl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|colin.campbell@ptfs-europe. |jonathan.druart@biblibre.co |com |m --- Comment #2 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 9066 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9066&action=edit Bug 7756: FIX send email for late orders -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |5347 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Jonathan, thank you for your patch! I will test asap! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Jonathan, 1) The claim counter only increases, when an email for the vendor is set and a success is reported. So that's good! 2) From other tests, I had deleted my email address from the patron, the branch and KohaAdminEmailAdress. So when I claimed, no email was generated and I got the following error in the logs: [Tue Apr 10 21:28:29 2012] [error] [client 127.0.0.1] [Tue Apr 10 21:28:29 2012] lateorders.pl: Bad or missing From address: '', referer: http://localhost:8080/cgi-bin/koha/acqui/lateorders.pl [Tue Apr 10 21:28:29 2012] [error] [client 127.0.0.1] [Tue Apr 10 21:28:29 2012] lateorders.pl: at /home/katrin/kohaclone/acqui/lateorders.pl line 83, referer: http://localhost:8080/cgi-bin/koha/acqui/lateorders.pl It would be great, if there was an error message for a missing from address as there is one for missing vendor address now. After I fixed the emails - mail was sent out :) 3) I noticed a little new problem, that is not urgent: The order date ___ days ago filter has no value set, so when you filter on vendor without putting in a value or if you send claim letters, a red error message shows up: The number of days () must be a number between 0 and 999. Perhaps with a default value of 0 this would work? I am signing off as this patch fixes 2 problems: - sending mail now works again - claim counter is not increased when vendor had no email addres -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hm, I think this is the bug for serial claims, but the patch is for late order claims... ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #9066|0 |1 is obsolete| | --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 9090 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9090&action=edit [SIGNED-OFF] Bug 7756: FIX send email for late orders Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> - sending claim mails works now - claim counter is not increased when vendor has no email address -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Ian Walls <koha.sekjal@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #7 from Ian Walls <koha.sekjal@gmail.com> --- Adds booksellerid back to the Alert SQL, and does some better checking for existence of things before using them. Marking Passed QA. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |paul.poulain@biblibre.com Version|master |rel_3_8 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 --- Comment #8 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to comment #4)
3) I noticed a little new problem, that is not urgent: The order date ___ days ago filter has no value set, so when you filter on vendor without putting in a value or if you send claim letters, a red error message shows up: The number of days () must be a number between 0 and 999. Perhaps with a default value of 0 this would work?
Hi Katrin, I can't reproduce this problem. On the late orders page, I select a vendor and click on the filter button. I don't have the error message. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 --- Comment #9 from Jonathan Druart <jonathan.druart@biblibre.com> --- Ok, fixed (I hope) in the last submitted patch for Bug 5347 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7756 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Sending serial claims now works for me and I have signed off on the patch on bug 5347 that fixes problems with late order claims. I am marking this bug resolved to end the confusion. If we find more problems with serial claims, those can go on separate bugs. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org