Bug 41035 - bundle_remove click handler in returns.tt has invalid path component "item"
Summary: bundle_remove click handler in returns.tt has invalid path component "item"
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-16 16:46 UTC by Paul Derscheid
Modified: 2025-10-16 16:56 UTC (History)
2 users (show)

See Also:
GIT URL:
Sponsorship status: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41035: remove invalid path component 'item' (1.51 KB, patch)
2025-10-16 16:56 UTC, Paul Derscheid
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Derscheid 2025-10-16 16:46:40 UTC
The problem is that "...bundled_items/item/{bundled_item_id}" gives 404, should just be "bundled_items/{bundled_item_id}".
Comment 1 Paul Derscheid 2025-10-16 16:56:49 UTC
Created attachment 188019 [details] [review]
Bug 41035: remove invalid path component 'item'

To test:
1. Create a record as a collection with leader 007 set to c
2. Add some items on the same branch to the bundle
3. Check one item in
4. Observe that you get a 404 error and the item is not removed from
   the bundle
5. Apply the patch
6. Repeat step 3
7. Observe that the item is correctly removed (unlinked) from the
   bundle
8. Sign off