smartdevicelink / sdl_core

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

SDL does not concatenate the internal UI error message and error message from VR response in case PerformInteraction requests for 'BOTH' interaction mode #3926

Open VjKlepikov opened 2 years ago

VjKlepikov commented 2 years ago

Bug Report

SDL does not concatenate the internal UI error message and error message from VR response in case PerformInteraction requests for 'BOTH' interaction mode

Reproduction Steps
  1. SDL and HMI are started.
  2. HMI respond with 'available' = false on UI.IsReady request from SDL
  3. App is registered and activated
  4. CreateInteractionChoiceSet is added
  5. App requests PerformInteraction with 'BOTH' interaction mode to SDL and user does not provide choice
  6. HMI responds VR.PerformInteraction(TIMED_OUT, "message":"Perform Interaction error response"}
Expected Behavior

SDL respond PerformInteraction with (resultCode: TIMED_OUT, success: false, "info":"Perform Interaction error response, UI is not supported by system ")

Observed Behavior

SDL respond PerformInteraction with (resultCode: TIMED_OUT, success: false, "info":"Perform Interaction error response")

OS & Version Information

OS/Version: Ubuntu 18.04 SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop (65947fd)

Test Case, Sample Code, and / or Example App

Logs_3926.zip