########################################################################################## VEH-69: getLatestFuellog doesn't take the vehicle into account ########################################################################################## Issue Type: Bug ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Fixed (2014-03-09 08:46:04) Project: VehMan (VEH) Reported By: btasker Assigned To: btasker Components: - Fuel Affected Versions: - 1.0.15 Targeted for fix in version: - 1.0.2 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== The getLatestFuellog returns the latest fuel-log entry added irrespective of the vehicle specified. The servicelog equivalent probably does too ----------------------------------------------------------------------------------------- Issue Relations ================ - Causes VFJ-28: Recorded Mileage calculations are wrong - relates to VEH-70: getLatestServiceLog doesn't take the Vehicle into account ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2014-03-09 08:45:56 btasker ----------------------------------------------------------------------------------------- Commit 7b27670 resolves the issue for the fuel log - emergency patch deployed to production API. Will check ServiceLog and raise a seperate bug for that if required ----------------------------------------------------------------------------------------- 2014-03-09 08:46:05 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Resolved' ----------------------------------------------------------------------------------------- 2014-03-09 08:46:05 ----------------------------------------------------------------------------------------- btasker added 'Fixed' to resolution ----------------------------------------------------------------------------------------- 2014-03-09 08:46:10 ----------------------------------------------------------------------------------------- btasker changed status from 'Resolved' to 'Closed'