Bug 29842 - Item should be removed from rotating collection when item is deleted
Summary: Item should be removed from rotating collection when item is deleted
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 18606
  Show dependency treegraph
 
Reported: 2022-01-10 13:37 UTC by Andrew Fuerste-Henry
Modified: 2022-01-10 13:37 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2022-01-10 13:37:26 UTC
To recreate:
1: add an item to a rotating collection
2: delete that item (either via batch delete or via single item delete)
3: confirm your rotating collection no longer shows in the staff interface (rotating_collections/addItems.pl)
4: select * from collections_tracking for your collection, confirm your item is still listed there
5: attempt to transfer your rotating collection, get a big angry error:

Can't locate object method "rethrow" via package "Can't call method "request_transfer" on an undefined value at /kohadevbox/koha/C4/RotatingCollections.pm line 451.
" (perhaps you forgot to load "Can't call method "request_transfer" on an undefined value at /kohadevbox/koha/C4/RotatingCollections.pm line 451.
"?) at /kohadevbox/koha/C4/RotatingCollections.pm line 504