[Koha-bugs] [Bug 12003] Next issues for irregular pattern not correctly predicted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 12 17:05:36 CEST 2014


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26683|0                           |1
        is obsolete|                            |

--- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 27050
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27050&action=edit
[SIGNED-OFF] Bug 12003: Do not calculate next pubdate for irregular
subscriptions

Show 'Unknown' when planneddate and publisheddate cannot be calculated

Also fixes SQL query in misc/cronjobs/serialsUpdate.pl that was still
using "periodicity != 32" to exclude irregular subscriptions from
results

Test plan:

1) Create a subscription in the serials module. Make sure to choose: Frequency
= Irregular
2) Test the prediction pattern, first publication date is set to "First
issue publication date" field, others will show as 'unknown'
3) Save the subscription
4) Check the created issue - it will show a published date and a planned
date (same as "First issue publication date" field)
5) Receive the issue and check the next generated issue, planned date
and published date should show as 'Unknown'
6) Generate a next issue, planned date and published date should also
show as 'Unknown'

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Work as described following test plan.
No koha-qa errors

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list