Bug 29934 - Previous issue should follow makePreviousSerialAvailable when using supplemental issues
Summary: Previous issue should follow makePreviousSerialAvailable when using supplemen...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 21:11 UTC by Andrew Fuerste-Henry
Modified: 2022-01-24 21:11 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2022-01-24 21:11:15 UTC
makePreviousSerialAvailable misses a couple of issues when one creates a supplement:

1 - turn on makePreviousSerialAvailable
2 - make subsciption, create item record, itemtype=A, item type for older issues=B
3 - receive issue 1 
4 - #1 is created as itype A
5 - receive issue 2 
6 - #2 is created as itype A, #1 changes to itype B
7 - receive a supplemental issue
8 - supplement is created as itype A, #2 remains itype A
9 - receive issue 3
10 - #3 is created as itype A, both #2 and supplement remain itype A
11 - receive issue 4
12 - #4 is created as itype A; supplement changes to itype B, #3 and #2 remain itype A
13 - receive issue 5
14 - #5 is created as itype A; #4 changes to itype B; #3 and #2 remain itype A

We should have seen:
 - #2 goes to itype B at step 8
 - supplement goes to itype B at step 10
 - #3 goes to itype B at step 12