smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 244 forks source link

Processing of individual vehicle data result codes in SubscribeVehicleData/UnsunscribeVehicleData responses from HMI #3384

Open GetmanetsIrina opened 4 years ago

GetmanetsIrina commented 4 years ago

Bug Report

Processing of individual vehicle data result codes in SubscribeVehicleData/UnsunscribeVehicleData responses from HMI

Reproduction Steps
  1. SDL and HMI are started
  2. SubscribeVehicleData,UnsunscribeVehicleData are allowed by policies
  3. App is subscribed to e.g speed data
  4. App requests SubscribeVehicleData(gps)
  5. HMI responds with SubscribeVehicleData(resultCode:SUCCESS, gps = { resultCode = <not success code from VehicleDataResultCode structure> })
  6. App requests UnsubscribeVehicleData(speed)
  7. HMI responds with UnsubscribeVehicleData(resultCode:SUCCESS, gps = { resultCode = <not success code from VehicleDataResultCode structure> })
Expected Behavior

TBA

Observed Behavior
  1. SDL sends SubscribeVehicleData(resultCode:SUCCESS, gps = { resultCode = <not success code from VehicleDataResultCode structure> }) response to mobile app and subscription is not created internally
  2. SDL sends UnsubscribeVehicleData(resultCode:GENERIC_ERROR, gps = { resultCode = <not success code from VehicleDataResultCode structure> }, info = "Unsubscription failed for some Vehicle data") response to mobile app and unsubscription is failed internally
OS & Version Information
Test Case, Sample Code, and / or Example App

SubscribeVehicleData_SmartDeviceLinkCore.zip UnsubscribeVehicleData_SmartDeviceLinkCore.zip

ShobhitAd commented 2 years ago

@GetmanetsIrina Is this issue still reproducible on the latest develop commit

GetmanetsIrina commented 2 years ago

@ShobhitAd, yes, the issue is still reproducible on the latest develop commit (2f002290411cae9a414c4dfccc93bb777a9482d0)

ShobhitAd commented 2 years ago

@GetmanetsIrina I see, thanks for verifying.

I'm currently not able to reproduce the issue on my end. Could you kindly send me your logs of the test with the latest develop commit? Just so I have a better idea as to what steps I'm missing