smartdevicelink / sdl_core

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

SDL responds with ABORTED result code and success=true to PerformInteraction request with KEYBOARD layout and BOTH mode #3611

Closed GetmanetsIrina closed 3 years ago

GetmanetsIrina commented 3 years ago

Bug Report

SDL responds with ABORTED result code and success=true to PerformInteraction request with KEYBOARD layout and BOTH mode

Precondition
  1. SDL and HMI are started
  2. App is registered and activated
  3. ChoiceSet is added with vrCommands
Reproduction Steps
  1. Mobile app requests PerformInteraction(interactionMode=BOTH, InteractionLayout=KEYBOARD or LIST_WITH_SERCH or ICON_WITH_SEARCH)
  2. SDL sends VR.PerformInteraction and UI.PerformInteraction requests to HMI
  3. Abort VR part of PI request(Press Back button when HMI shows vrCommands)
  4. HMI shows keyboard after aborting VR part of PI(with LIST_WITH_SERCH, ICON_WITH_SEARCH modes user should tap on the Search text field)
  5. Enter some text using the keyboard and press the Search button
Expected Behavior
  1. SDL receives ABORTED result for VR.PerformInteraction request and SUCCESS result for UI.PerformInteraction with manualTextEntry
  2. SDL sends response PerformInteraction(resultCode=SUCCESS, success=true, manualTextEntry = <value_received_from_HMI>, Info = <info_received_in_VR_PerformInteraction_response>) to mobile app
Observed Behavior

SDL sends response PerformInteraction(resultCode=ABORTED, success=true, manualTextEntry = <value_received_from_HMI>, Info = <info_received_in_VR_PerformInteraction_response>) to mobile app

OS & Version Information
SDL log

SmartDeviceLinkCore.zip

VjKlepikov commented 3 years ago

Issue is not reproduced on:

SDL: https://github.com/smartdevicelink/sdl_core/tree/7.1.0-RC1 HMI: https://github.com/smartdevicelink/sdl_hmi/tree/develop (cc9c740) SPT: SPT: 20210305-Android (1076)