Bug 35696 - Transit status not properly updated for items advanced in Stock Rotation tool
Summary: Transit status not properly updated for items advanced in Stock Rotation tool
Status: Pushed to oldstable
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Martin Renvoize
QA Contact: Testopia
URL:
Keywords:
Depends on: 33167
Blocks: 35934
  Show dependency treegraph
 
Reported: 2024-01-03 22:57 UTC by Heather Rommens
Modified: 2024-01-29 20:22 UTC (History)
4 users (show)

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


Attachments
Transit status of stock rotation items 23.05.06 (114.57 KB, image/png)
2024-01-03 22:57 UTC, Heather Rommens
Details
Bug 35696: Fix regression caused by bug 33167 (1.71 KB, patch)
2024-01-04 16:28 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 35696: Fix regression caused by bug 33167 (1.71 KB, patch)
2024-01-04 16:29 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 35696: Fix regression caused by bug 33167 (1.77 KB, patch)
2024-01-04 16:44 UTC, Lucas Gass
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Heather Rommens 2024-01-03 22:57:41 UTC
Created attachment 160507 [details]
Transit status of stock rotation items 23.05.06

While using the stock rotation tool in the Cataloging module, when items in rotas are advanced to the next stage, the status is not updating properly. In a proper status update for advancing items, the status reads "Transit pending from XX branch to YY branch since mm/dd/yyyy" which displays in 22.11.10. In 23.05.06, the status updates to show "Transit is pending from XX branch to YY branch since Available".
Comment 1 Martin Renvoize 2024-01-04 16:28:45 UTC
Created attachment 160548 [details] [review]
Bug 35696: Fix regression caused by bug 33167

A case was missed when switching from item.transfer.field to just
transfer.field.

This meant that the daterequested date wasn't getting filled properly in
the UI.
Comment 2 Martin Renvoize 2024-01-04 16:29:50 UTC
Created attachment 160549 [details] [review]
Bug 35696: Fix regression caused by bug 33167

A case was missed when switching from item.transfer.field to just
transfer.field.

This meant that the daterequested date wasn't getting filled properly in
the UI.
Comment 3 Martin Renvoize 2024-01-04 16:31:30 UTC
This is affecting all pending transfers.. it's just that stockrotation is the most obvious case where an item can be pending but not in transit.

It's caused by bug 33167
Comment 4 Lucas Gass 2024-01-04 16:43:44 UTC
Fix works good and is trivial. I think this can go straight PQA, let's get this fix in asap!
Comment 5 Lucas Gass 2024-01-04 16:44:19 UTC
Created attachment 160550 [details] [review]
Bug 35696: Fix regression caused by bug 33167

A case was missed when switching from item.transfer.field to just
transfer.field.

This meant that the daterequested date wasn't getting filled properly in
the UI.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 6 Katrin Fischer 2024-01-05 13:08:17 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 7 Fridolin Somers 2024-01-08 14:35:14 UTC
Pushed to 23.11.x for 23.11.02
Comment 8 Lucas Gass 2024-01-12 22:25:45 UTC
Backported to 23.05.x for upcoming 23.05.08