Bug 40575

Summary: Transferring order will reload the page and its form
Product: Koha Reporter: Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski>
Component: AboutAssignee: Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: ludovic.julien
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40575: Transferring order will reload the page and its form

Description Baptiste Wojtkowski (bwoj) 2025-08-01 11:53:12 UTC
Test plan:
1 - Create two baskets: "Source Basket" and "Dest Basket"
2 - Add one command line to "Source Basket"
3 - Close the basket
4 - Receive shipment
5 - Receive order
6 - Cancel the order receive
7 - Transfer the order to the Dest Basket -> When clicking on chose, you will be asked if you want to send again infos (which were sent to cancel the order receive), and if accepting, you will be printed an error.
8 - Apply patch
9 - Repeat the process with another source Basket and notice the page is simply reloaded without sending form.
Comment 1 Baptiste Wojtkowski (bwoj) 2025-08-01 11:56:25 UTC
Created attachment 184988 [details] [review]
Bug 40575: Transferring order will reload the page and its form

Test plan:
1 - Create two baskets: "Source Basket" and "Dest Basket"
2 - Add one command line to "Source Basket"
3 - Close the basket
4 - Receive shipment
5 - Receive order
6 - Cancel the order receive
7 - Transfer the order to the Dest Basket -> When clicking on chose, you will be asked if you want to send again infos (which were sent to cancel the order receive), and if accepting, you will be printed an error.
8 - Apply patch
9 - Repeat the process with another source Basket and notice the page is simply reloaded without sending form.
Comment 2 Ludovic 2025-09-05 19:24:33 UTC
Hello,

I tried to test the patch for Bug 40575, but currently all links to vendors "http://master-intranet/cgi-bin/koha/acquisition/vendors/add" return a 404 error. This issue is unrelated to your patch, so it’s not a fault of your work.

Once the major problem with the vendor links is resolved, I will be able to properly test the patch. For now, it will require another look at that time.

Thank you for your understanding.

Best regards :)