Web Client: Most Recent Transit is showing older transit

Bug #1729922 reported by Terran McCanna on 2017-11-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Unassigned

Bug Description

In 3.0.1:

On the Item Status page > Holds Transit tab > Most Recent Transit is displaying old transit information (possibly the first transit rather than the most recent?)

On the attached example, the item is currently in transit from STATELIB-L to NCLS-COVT (transit start date 11/3/2017). The previous transit was SGRL-VALDOSTA to STATELIB-L (transit start date 3/14/2017). But the one showing in the Most Recent Transit box is from STATELIB-L to ARL-ATH in 2015.

Terran McCanna (tmccanna) wrote :
Chris Sharp (chrissharp123) wrote :
tags: added: pullrequest
Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 3.0.2
milestone: 3.0.2 → 3.next
Galen Charlton (gmc) wrote :

I've pushed an alternative patch to user/gmcharlt/lp1729922_most_recent_transit:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1729922_most_recent_transit

This patch takes a slightly more direct approach and fixes a problem where /all/ of the transits on the copy were fetched from the database, but only one was displayed. It also fixes an issue where transit receive time was not displayed.

Changed in evergreen:
milestone: 3.next → 3.0.3
Changed in evergreen:
assignee: nobody → Jason Etheridge (phasefx)
Jason Etheridge (phasefx) wrote :

Looks good to me, pushed to master, thanks! Opening a followup bug for a minor worry I have with canceled transits.

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Jason Etheridge (phasefx) → nobody
Jason Etheridge (phasefx) wrote :

bug 1738688 for cross-reference

Changed in evergreen:
status: Fix Committed → Fix Released
Galen Charlton (gmc) wrote :

This only made it into master, not rel_3_0, so I've now pushed it to rel_3_0. Fix will be available in 3.0.5.

Changed in evergreen:
status: Fix Released → Confirmed
milestone: 3.0.3 → 3.0.5
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers