| Summary: | Can't delete a stock rotation | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
| Component: | Cataloging | Assignee: | Lucas Gass (lukeg) <lucas> |
| Status: | RESOLVED FIXED | QA Contact: | Emily Lamancusa (emlam) <emily.lamancusa> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | caroline.cyr-la-rose, emily.lamancusa, fridolin.somers, laura, m.de.rooy |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
24.11.00,24.05.06
|
|
| Circulation function: | |||
| Attachments: |
Bug 38162: Pass the rota_id correctly when deleting
Bug 38162: Pass the rota_id correctly when deleting Bug 38162: Pass the rota_id correctly when deleting Bug 38162: Pass the rota_id correctly when deleting |
||
|
Description
Lucas Gass (lukeg)
2024-10-12 14:00:57 UTC
Created attachment 172711 [details] [review] Bug 38162: Pass the rota_id correctly when deleting To test: 1. Enable StockRotation 2. Got to Cataloging -> Stock rotation 3. Create a new Rota 4. Try to delete it 5. See the error "Can't call method "delete" on an undefined value at /kohadevbox/koha/tools/stockrotation.pl line 231" 6. APPLY PATCH 7. Try again, the rota should be deleted properly. Created attachment 172775 [details] [review] Bug 38162: Pass the rota_id correctly when deleting To test: 1. Enable StockRotation 2. Got to Cataloging -> Stock rotation 3. Create a new Rota 4. Try to delete it 5. See the error "Can't call method "delete" on an undefined value at /kohadevbox/koha/tools/stockrotation.pl line 231" 6. APPLY PATCH 7. Try again, the rota should be deleted properly. Signed-off-by: Laura ONeil <laura@bywatersolutions.com> Created attachment 172794 [details] [review] Bug 38162: Pass the rota_id correctly when deleting To test: 1. Enable StockRotation 2. Got to Cataloging -> Stock rotation 3. Create a new Rota 4. Try to delete it 5. See the error "Can't call method "delete" on an undefined value at /kohadevbox/koha/tools/stockrotation.pl line 231" 6. APPLY PATCH 7. Try again, the rota should be deleted properly. Signed-off-by: Laura ONeil <laura@bywatersolutions.com> Signed-off-by: Alyssa <alyssa.drake@bywatersolutions.com> Created attachment 172796 [details] [review] Bug 38162: Pass the rota_id correctly when deleting To test: 1. Enable StockRotation 2. Got to Cataloging -> Stock rotation 3. Create a new Rota 4. Try to delete it 5. See the error "Can't call method "delete" on an undefined value at /kohadevbox/koha/tools/stockrotation.pl line 231" 6. APPLY PATCH 7. Try again, the rota should be deleted properly. Signed-off-by: Laura ONeil <laura@bywatersolutions.com> Signed-off-by: Alyssa <alyssa.drake@bywatersolutions.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Thanks for catching that! Passing QA Pushed for 24.11! Well done everyone, thank you! Backported to 24.05.x for upcoming 24.05.06 Not for 23.11.x (CUD feature) Bug fix, nothing to add/edit in the manual. |