Bug 30106 - Items silently moved to serial record without updating search index
Summary: Items silently moved to serial record without updating search index
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 09:39 UTC by Katrin Fischer
Modified: 2022-02-15 10:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2022-02-15 09:39:38 UTC
This is quite a confusing bug:

1) Create a serial description with 'create items on receive'
2) Receive multiple issues and add items with barcodes
3) Verify your items show on the detail page of you serial record.

4) In a new tab, search for another record.
5) Attach one of your items to this record.
6) Both detail pages and result lists should reflect the change correctly.

7) Go to your subscription and switch to the "Serial collection" page
8) Make sure that the issue for your reattached item is "checked" in the list
9) Click Edit serials
10) Receive the newest issue, leave your old issue unchanged

Now the surprise:

11) Check the detail pages of both your records: 
    The item has been reattached to the original record.
12) Verify via zebraqueue table and result list that the index has not been          
    updated. The result list still shows the item on the second record.

Problem:
* There should be no silently wandering items...?
* The index is out of sync causing additional confusion.

Use case:
In some cases serials that have volumes with unique titles (yearbooks are an example) will be catalogued with separate records for the volumes according to German cataloguing rules. So wanting to reattach the item created for the serial to the volume record created after the item was received is a common use case.
Comment 1 Katrin Fischer 2022-02-15 09:40:33 UTC
Conclusion: if the item was moved to another record, we need to either "severe" the connection to the issue or preferably just allow it to be attached to another record.