[Koha-bugs] [Bug 24842] Automatic serials missing list feeding does not work when the numbering sequence includes regexp specific characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 12 14:49:49 CET 2020


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

Koha Team University Lyon 3 <koha at univ-lyon3.fr> changed:

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

--- Comment #4 from Koha Team University Lyon 3 <koha at univ-lyon3.fr> ---
Created attachment 100635
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100635&action=edit
Bug 24842 Regexp issue create doubles in the serial missing list

the "delete issue" aspect (sub DelIssue) of the process was still uncorrectly
handled. I synchronized it with the rest.
... and redo my test plan again (...)

FINAL TEST PLAN (I hope so !) :
-------------------------------
To go faster, choose an existing subscription, click on "Edit/Edit as
new(duplicate)"
Uncheck Manual history and go to next page
Choose whatever simple config for this new subscription
Exemple :
Frequency : 1/month
Subscription length : 12
Subscription start date : 01/01/2020
Subscription end date : nothing
Numbering pattern : Volume, number
Last value 
    volume :2019
    number : 1

Click on "Hide advanced pattern" then "Modify pattern"
In the "Numbering formula pattern" zone, add parenthesis around {X}:
   Vol({X}), No {Y}
or an other critical character like + :
   Vol ({X}), No {Y} + suppl.
Fullfill the "Pattern name" : MyTest
Save as new pattern
Test prediction pattern
Save subscription

1) Receive one or two issues on this subscription
2) For the next expected one, set to any missing status rather than arrived one
3) Go to check the missing list in the summary tab of subscription :
   the issue had been added to the list.
4) If you go back to set the same issue to another type of missing status, you
will discover that it had been added a second time to the list.
5) if you set the missing status to "arrived", you will see that the sequences
had not been removed from the missing list.

Install the patch
clear manually the missing list from added issues.
redo 1 to 5 steps
You 'll see that issues are correctly added (and only one time) when tey have
to and correctly repoved.

If you delete an issue with missing status, you'll see that it's deleted from
the list as well


Olivier Crouzet

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


More information about the Koha-bugs mailing list