Bug 11637: don't try to guess publication dates for irregular subscriptions
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 21 Feb 2014 16:16:43 +0000 (17:16 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 12 Jun 2014 08:51:18 +0000 (10:51 +0200)
commit4f3ddf28afb534904b85e9453a190f941bce54dc
treef6847a58f0930435a3aec9fa30c0093d02e02b63
parentdcc953b3cd82fb606ce090282b4ea4f053eee011
Bug 11637: don't try to guess publication dates for irregular subscriptions

Test plan:
Create a subscription with an irregular numbering pattern.

Verify the prediction pattern. With this patch, it should show "unknown"
instead of the date of the first issue publication date.

This patch does not fix the issue on generating the next serial.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This is a partial fix for a small regression in the serials module.
Now the prediction pattern doesn't predict dates when you test it,
and shows 'Unknown' instead.

We still need to fix the 'planned date' set for the expected serial.
There should be no date, it should also be 'unknown'.

Passes tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit fac91e2ce1210ad202e321d1f4de2383ac693dd3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
serials/showpredictionpattern.pl