[Koha-bugs] [Bug 25081] New: new item for a received issue is (stochastically) not created

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 7 22:22:55 CEST 2020


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

            Bug ID: 25081
           Summary: new item for a received issue is (stochastically) not
                    created
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: januszop at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

The Bug 23435 introduced the idea of multiple copies added while receiving a
new issue.  Unfortunately, under some circumstances, it causes no items being
added at all.  It occurs stochastically, only under some conditions.  But it is
quite likely to happen while receiving a supplemental issue.

So, to reproduce, have a subscription with the option "Create an item record
when receiving this serial" active and try to receive a supplemental issue. 
Control that a new item under the biblio record (usually) will not be created. 
 (Sometimes it occurs also while receiving back issues). 

The reason fot hist is that, in serials-edit.pl, line ca 292 and infra,
@num_copies is treated in the same way as @tags, while it should be treated
similarly to @bibnums.  It will be obvious after examining the content of
parameters tag, subfield, field_value, ..., number_of_copies.  In other words,
for every edited issue number_of_copies is a scalar.

A patch will follow.

-- 
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