smartdevicelink / sdl_core

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

SDL process empty structure as valid from HMI #3368

Closed HSavynetska closed 3 years ago

HSavynetska commented 4 years ago

Bug Report

SDL process empty structure as valid from HMI

Reproduction Steps
  1. HMI sends array with empty structure { {} } in fuelRange on GetVehicleData_response / OnVehicleData_notification to SDL
Expected Behavior

for GetVehicleData: SDL does respond GENERIC_ERROR to mobile for OnVehicleData: SDL does ignore this notification and SDL does not send OnVehicleData notification to mobile app.

Observed Behavior

for GetVehicleData: SDL responds SUCCESS to mobile for OnVehicleData: SDL does not ignore this notification and sends OnVehicleData notification to mobile app.

OS & Version Information
Test Case, Sample Code, and / or Example App
jacobkeeler commented 3 years ago

Closed via #3751