[Koha-bugs] [Bug 22188] Use publication date as numbering pattern

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 22 15:46:49 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22188

Séverine Queune <severine.queune at bulac.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |severine.queune at bulac.fr
             Status|Needs Signoff               |Failed QA

--- Comment #5 from Séverine Queune <severine.queune at bulac.fr> ---
Hi Aleisha,

This is a useful enhancement, but I have some questions and issues.

> 7) Click Test prediction pattern and confirm the prediction pattern shows as
> expected

The issue number is formatted as 'YYYY Month DD', is there a way to modify it
using the advanced pattern ? I failed trying it.


> 9) You should now be on the subscription detail page for your new
> subscription. Go to the Planning tab and confirm that it says 'uses
> publication date' under Number pattern and that there is now table
> saying 'Starting with' and 'Rollover'

Ok for 'Number pattern: Uses publication date', but I don't see the table.


> 12) Confirm the publication date shows under the Numbered column, in the
> Issue text field and click Save

Ok for display, but each time I tried to save the receive, I get this Software
error :
Can't use string ("1") as a HASH ref while "strict refs" in use at
/home/koha/src/C4/Serials.pm line 2353. 
This message also occurs for 1) receipt of serial that uses other numbering
patterns, 2) for multi-receiving and 3) when generating a new issue if the last
one in still 'Expected'.

When I go back to /cgi-bin/koha/serials/serials-collection.pl, in case 1)
serial is corectly received, case 2) only one issue is received (I wanted to
receive 3) and in case 3) issue is correctly set tot 'late' and the next is
'Expected'.

[Sorry if this bug is not due to this patch]

> 13) Click the Generate next button and confirm the alert box

I created several subscriptions and I always have the same problem : when I
generate the next issue, the number format changes from 'YYYY Month DD' to
'YYYY-MM-DD', and the date of the previous issue is used, which creates a gap
in the number pattern (see screenshot attached)


> 16) Edit this subscription to now use the publication date as numbering
> pattern
ok
> 17) Upon saving, confirm that previously received serials keep their old
> issue numbers
ok
> 18) Click Receive and Generate next again and confirm that the next
> serial now has the publication date
Badaboum... Same problem as step 13 : the date of the previous issue is used as
number (see the second screenshot attached)


I didn't see this step on your plan test, but when I edit a subscription using
'Use publication date', the 'Numbering pattern' is cleared (see the last
screenshot attached).

I hope my comments are clear enough...

Very interested to see this one pushed soon !

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


More information about the Koha-bugs mailing list