Koha-clms/serials
Julian Maurice da5aca223f Bug 7688: Fix generating next serial when there is no 'Expected' issue
It can happen when the Expected issue is claimed. In this case the
status of the last serial is 'Claimed'

This patch change the API of GetNextSeq and GetSeq

Test plan:
- Create a subscription which starts a long time ago so that serials
  automatically appear in late issues
- Receive the first serial
- Go to claims page and claim the 2nd serial.
- Go back to the subscription page and click on 'Serial collection'
- You should have 2 serials, one 'Arrived' and one 'Claimed'.
- Click on Generate Next. This should fail with a software error message
  ("can't call method output ...")
- Apply this patch and click again on Generate Next. A new issue must be
  created with status 'Expected'.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-22 22:14:36 -04:00
..
acqui-search-result.pl Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
acqui-search.pl Cherry-picked onto master, fixing conflicts: MT 1816: Granular permissions for the serials module 2010-06-19 07:23:46 -04:00
checkexpiration.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
claims.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
create-numberpattern.pl Bug 7688 follow-up: Small fixes for QA #2 2013-03-22 22:14:35 -04:00
lateissues-excel.pl Fix FSF Address in directory serials/ 2010-04-08 20:39:49 +01:00
member-search.pl Bug 9827: remove 'insecure' system preference 2013-03-19 21:46:34 -04:00
reorder_members.pl Bug 6296: allow users to be authenticated by SSL client certs 2012-03-19 17:02:44 +01:00
routing-preview.pl Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
routing.pl Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
serial-issues.pl Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
serials-collection.pl Bug 7688: Fix generating next serial when there is no 'Expected' issue 2013-03-22 22:14:36 -04:00
serials-edit.pl Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
serials-home.pl Bug 5357: Adds a new page for searching subscriptions 2012-09-18 22:37:11 +02:00
serials-recieve.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-03-22 22:14:28 -04:00
serials-search.pl Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
showpredictionpattern.pl Bug 7688: Fix generating next serial when there is no 'Expected' issue 2013-03-22 22:14:36 -04:00
statecollection.pl Cherry-picked onto master, fixing conflicts: MT 1816: Granular permissions for the serials module 2010-06-19 07:23:46 -04:00
subscription-add.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-03-22 22:14:28 -04:00
subscription-bib-search.pl Bug 9239: Allow the use of QueryParser for all queries 2013-03-16 21:32:32 -04:00
subscription-detail.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-03-22 22:14:28 -04:00
subscription-frequencies.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-03-22 22:14:28 -04:00
subscription-frequency.pl Bug 7688 follow-up: Small fixes for QA #2 2013-03-22 22:14:35 -04:00
subscription-history.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-03-22 22:14:28 -04:00
subscription-numberpattern.pl Bug 7688 follow-up: Small fixes for QA #2 2013-03-22 22:14:35 -04:00
subscription-numberpatterns.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-03-22 22:14:28 -04:00
subscription-renew.pl Cherry-picked onto master, fixing conflicts: MT 1816: Granular permissions for the serials module 2010-06-19 07:23:46 -04:00
viewalerts.pl Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00