[Bug 11244] New: notices ignoring the dateformat preference
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Bug ID: 11244 Summary: notices ignoring the dateformat preference Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: nengard@gmail.com QA Contact: testopia@bugs.koha-community.org Overdue notices are using the MySQL date format and not the dateformat in the system preferences. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #1 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 22912 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22912&action=edit Bug 11244 - notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com Patch complexity|--- |Small patch Assignee|koha-bugs@lists.koha-commun |kyle@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #2 from Kyle M Hall <kyle@bywatersolutions.com> --- This patch looks up each field in the information schema table, and if it is a date, datetime, or timestamp, it converts is to the format specified in the preference dateformat. Though the query in this patch looks like a mysql'ism, I believe it should also work in postgres at the very least. I believe we will in the near future move to Template Toolkit based notices which will render this issue moot. With TT notices, we will be able to use the KohaDates plugin to format dates correctly at that point. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Owen Leonard <oleonard@myacpl.org> 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=11244 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22912|0 |1 is obsolete| | --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 22963 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22963&action=edit [SIGNED-OFF] Bug 11244 - notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. Signed-off-by: Owen Leonard <oleonard@myacpl.org> This results in correctly-formatted dates, but I think we need to think about adding time to the output since we have hourly checkouts. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- Kyle, The patch works but don't you think it is easier to parse the variable value and assume it is a date if it matches YYYY-MM-DD or YYYY-MM-DD HH:MM:SS? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #5 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 23213 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23213&action=edit [ALT] Bug 11244: notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #6 from Jonathan Druart <jonathan.druart@biblibre.com> --- Kyle, what is your opinion on my patch? Maybe it is stupid, what do you think about it? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #7 from Kyle M Hall <kyle@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #6)
Kyle, what is your opinion on my patch? Maybe it is stupid, what do you think about it?
I think it's a far better solution than mine! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22963|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #8 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 23711 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23711&action=edit Bug 11244: notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. http://bugs.koha-community.org/show_bug.cgi?id=10774 Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23213|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA CC| |katrin.fischer@bsz-bw.de --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I like this idea, but I think we want to display the time in some cases - like for the due date in case of a hourly loan. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23711|0 |1 is obsolete| | --- Comment #10 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 23965 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23965&action=edit Bug 11244: notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #11 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to Katrin Fischer from comment #9)
I like this idea, but I think we want to display the time in some cases - like for the due date in case of a hourly loan.
Yes, you are right. The last patch takes the 2 formats into account. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 jdemuth@roseville.ca.us <jdemuth@roseville.ca.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdemuth@roseville.ca.us -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #12 from David Cook <dcook@prosentient.com.au> --- *** Bug 9084 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23965|0 |1 is obsolete| | --- Comment #13 from David Cook <dcook@prosentient.com.au> --- Created attachment 24557 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24557&action=edit Bug 11244: notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. Signed-off-by: David Cook <dcook@prosentient.com.au> I love this patch! It is the best solution to this problem that I've seen. I think it is set up to perfectly handle dates in the notices. Unfortunately, the $dateonly flag is backwards, so the time is stripped from timestamps and 00:00:00 is added to dates without times. I'm adding a follow-up to reverse the setting of this flag. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #14 from David Cook <dcook@prosentient.com.au> --- Created attachment 24558 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24558&action=edit Bug 11244: (follow-up) Fix $dateonly flag At the moment, $dateonly is set to true when $1 is defined. However, since the regex capture group only includes the time, this flag will only be set when there is a value that includes a time. In effect, this means that timestamps are reduced to dates only, while dates have 00-00-0000 added to them. This patch keeps the logic but reverses the values, so that $dateonly will default to true unless $1 is defined. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Chris Rohde <crohde@roseville.ca.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crohde@roseville.ca.us -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #15 from David Cook <dcook@prosentient.com.au> --- Jonathan, I think if you sign off on my follow-up, we can get this over to the QA people. I would love to see this one get through soon. It's been a long-standing bug for us. Happy to test someone else's patch if it means this one gets through as well. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |olli-antti.kivilahti@jns.fi --- Comment #16 from Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> --- Hi there! Applied the bug. I am noticing a huge performance drop with cronjobs/overdue_notices.pl getting 12 items to the message_queue takes 31s with this feature applied. getting 12 items to the message_queue takes 1s without this feature applied. oops... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |In Discussion --- Comment #17 from David Cook <dcook@prosentient.com.au> --- (In reply to Olli-Antti Kivilahti from comment #16)
Hi there!
Applied the bug. I am noticing a huge performance drop with cronjobs/overdue_notices.pl
getting 12 items to the message_queue takes 31s with this feature applied. getting 12 items to the message_queue takes 1s without this feature applied.
oops...
I've reproduced this problem as well, although I'm getting 35 items at around 31s. When I use strace, I'm noticing that 99% of the time is being spent on "brk" syscalls. I'm guessing the regex or the DateTime conversions are slowing things? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #18 from David Cook <dcook@prosentient.com.au> --- I thought about using DBIX::Class via Koha::Database to figure out the data type for the column, but I don't think that's going to be practical in this case, since the sourcename for the Koha::Schema::Result classes are sometimes quite different from the actual table name (e.g. borrowers vs Borrower, or MatcherMatchpoint vs matcher_matchpoints). I suppose we also have to consider...is decreased performance worth having correct timestamps? It might be worth testing this with a much larger load than 10-30 notices. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #19 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #18)
I thought about using DBIx::Class via Koha::Database to figure out the data type for the column, but I don't think that's going to be practical in this case, since the sourcename for the Koha::Schema::Result classes are sometimes quite different from the actual table name (e.g. borrowers vs Borrower, or MatcherMatchpoint vs matcher_matchpoints).
I suppose we also have to consider...is decreased performance worth having correct timestamps?
It might be worth testing this with a much larger load than 10-30 notices.
Sorry to keep spamming everyone, but perhaps it would be a good idea to add a "source_name" alias to each Result class so that we can use the actual table name as a source name when trying to use DBIx::Class. http://search.cpan.org/~ribasushi/DBIx-Class-0.08270/lib/DBIx/Class/ResultSo... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 paxed <pasi.kallinen@pttk.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pasi.kallinen@pttk.fi --- Comment #20 from paxed <pasi.kallinen@pttk.fi> --- This needs to be fixed. Patrons getting notices with dates in wrong format can cause problems, and will cause complaints... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #21 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to Olli-Antti Kivilahti from comment #16)
Hi there!
Applied the bug. I am noticing a huge performance drop with cronjobs/overdue_notices.pl
getting 12 items to the message_queue takes 31s with this feature applied. getting 12 items to the message_queue takes 1s without this feature applied.
oops...
I don't reproduce. I generated 10 overdues, and I got: koha@koha-qa:~/src (BZ11244↑⚡)% time perl misc/cronjobs/overdue_notices.pl perl misc/cronjobs/overdue_notices.pl 1.46s user 0.05s system 76% cpu 1.976 total koha@koha-qa:~/src (BZ11244↑⚡)% git checkout master Switched to branch 'master' koha@koha-qa:~/src (master⚡)% time perl misc/cronjobs/overdue_notices.pl perl misc/cronjobs/overdue_notices.pl 1.32s user 0.05s system 73% cpu 1.853 total I have 5 dates in the template: [skip] <<items.datelastborrowed>><<items.datelastseen>><<items.timestamp>> [skip] <<borrowers.dateofbirth>><<borrowers.dateexpiry>> [skip] -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Signed Off --- Comment #22 from David Cook <dcook@prosentient.com.au> --- (In reply to paxed from comment #20)
This needs to be fixed. Patrons getting notices with dates in wrong format can cause problems, and will cause complaints...
I agree. This is the oldest bug in my local bug tracker at the moment, and I would love to see this get through. Honestly, even if it is slower than the past version, I rather have correct output and slower performance on a job which is run once a day anyway. Changing this back to "Signed Off" to see what QA team has to say about this one. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kyle@bywatersolutions.com |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #24557|0 |1 is obsolete| | --- Comment #23 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 29650 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29650&action=edit [SIGNED-OFF] Bug 11244: notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. Signed-off-by: David Cook <dcook@prosentient.com.au> I love this patch! It is the best solution to this problem that I've seen. I think it is set up to perfectly handle dates in the notices. Unfortunately, the $dateonly flag is backwards, so the time is stripped from timestamps and 00:00:00 is added to dates without times. I'm adding a follow-up to reverse the setting of this flag. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #24558|0 |1 is obsolete| | --- Comment #24 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 29651 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29651&action=edit [SIGNED-OFF] Bug 11244: (follow-up) Fix $dateonly flag At the moment, $dateonly is set to true when $1 is defined. However, since the regex capture group only includes the time, this flag will only be set when there is a value that includes a time. In effect, this means that timestamps are reduced to dates only, while dates have 00-00-0000 added to them. This patch keeps the logic but reverses the values, so that $dateonly will default to true unless $1 is defined. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #25 from Kyle M Hall <kyle@bywatersolutions.com> --- I would consider this such a major bug that we must fix it despite any performance decrease associated with it. (In reply to David Cook from comment #22)
(In reply to paxed from comment #20)
This needs to be fixed. Patrons getting notices with dates in wrong format can cause problems, and will cause complaints...
I agree. This is the oldest bug in my local bug tracker at the moment, and I would love to see this get through.
Honestly, even if it is slower than the past version, I rather have correct output and slower performance on a job which is run once a day anyway.
Changing this back to "Signed Off" to see what QA team has to say about this one.
-- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #29650|0 |1 is obsolete| | Attachment #29651|0 |1 is obsolete| | --- Comment #26 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 30126 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30126&action=edit Bug 11244: notices ignoring the dateformat preference Overdue notices are using the MySQL date format and not the dateformat in the system preferences. Test Plan: 1) Enable checkout notices for a patron, make sure the date due is in the notice. 2) Check out an item to that patron, note the date is in the mysql datetime format 3) Apply this patch 4) Check out another item to the patron, not the date is now in the preferred date format. Signed-off-by: David Cook <dcook@prosentient.com.au> I love this patch! It is the best solution to this problem that I've seen. I think it is set up to perfectly handle dates in the notices. Unfortunately, the $dateonly flag is backwards, so the time is stripped from timestamps and 00:00:00 is added to dates without times. I'm adding a follow-up to reverse the setting of this flag. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #27 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 30127 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30127&action=edit Bug 11244: (follow-up) Fix $dateonly flag At the moment, $dateonly is set to true when $1 is defined. However, since the regex capture group only includes the time, this flag will only be set when there is a value that includes a time. In effect, this means that timestamps are reduced to dates only, while dates have 00-00-0000 added to them. This patch keeps the logic but reverses the values, so that $dateonly will default to true unless $1 is defined. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #28 from Jonathan Druart <jonathan.druart@biblibre.com> --- Kyle passed QA on the first patch, I pass QA on the second one. So the bug report is passed QA :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #29 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Can anyone write a regression test for this? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz --- Comment #30 from Chris Cormack <chris@bigballofwax.co.nz> --- Also i'd love to see some benchmarks. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #31 from David Cook <dcook@prosentient.com.au> --- (In reply to Chris Cormack from comment #30)
Also i'd love to see some benchmarks.
That would be interesting. So far, three different people got fairly different results. I wonder a bit about the differences in hardware, number of notices, number of substitutions per notice, etc. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #32 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I am not sure about the implementation or its effects on performance of the job, but I'd really like to see this fixed. Notices are sent out to the patrons and nicely formatted dates would be great. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #33 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #32)
I am not sure about the implementation or its effects on performance of the job, but I'd really like to see this fixed. Notices are sent out to the patrons and nicely formatted dates would be great.
Yeah, it's the oldest issue in my local tracker, so I would love to see this fixed. The effect on performance probably wouldn't matter much with a small load, but I wonder how it would perform under a higher load which might be more common in larger libraries? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #34 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to Chris Cormack from comment #30)
Also i'd love to see some benchmarks.
see comment 21. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #35 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 31030 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31030&action=edit Bug 11244: Add unit tests for GetPreparedLetter -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #36 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patches pushed to master. Thanks Jonathan and David! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |13011 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=13226 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #37 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** Bug 6029 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org