Closed GetmanetsIrina closed 2 years ago
SDL requests invalid VR.AddCommand during CreateInteractionChoice resumption without VR part
VR.AddCommand
CreateInteractionChoice
VR
CreateInteractionChoiceSet
VR Command
SDL does not request VR.AddCommand for the CreateInteractionChoiceSet resumption without VR Command and resumes CreateInteractionChoiceSet internally
SDL request invalid VR.AddCommand message during resumption
SDL -> HMI [16:36:20:329]: {"id":96,"jsonrpc":"2.0","method":"VR.AddCommand","params":{"appID":856255661,"cmdID":4,"grammarID":0,"type":"Choice","vrCommands":null}} VRRPC.js:295 FFW.VR.AddCommandResponse RPCClient.js:323 HMI -> SDL [16:36:20:330]: {"jsonrpc":"2.0","id":96,"error":{"code":11,"message":"Parameter 'vrCommands' does not exists!","data":{"method":"VR.AddCommand"}}}
In case of deleting such CreateInteractionChoiceSet(without VR part) after it adding ( step 1 from ) SDL also requests invalid VR.DeleteCommand
VR.DeleteCommand
{"id":70,"jsonrpc":"2.0","method":"VR.DeleteCommand","params":{"appID":1326361392,"cmdID":1,"grammarID":null,"type":"Choice"}}
SmartDeviceLinkCore.zip
Please notice this is a non-regression issue. It's also reproduced on release 8.0
Luxoft team is going to fix this issue
Closed via https://github.com/smartdevicelink/sdl_core/pull/3938
Bug Report
SDL requests invalid
VR.AddCommand
duringCreateInteractionChoice
resumption withoutVR
partPrecondition
Reproduction Steps
CreateInteractionChoiceSet
withoutVR Command
Expected Behavior
SDL does not request
VR.AddCommand
for theCreateInteractionChoiceSet
resumption withoutVR Command
and resumesCreateInteractionChoiceSet
internallyObserved Behavior
SDL request invalid
VR.AddCommand
message during resumptionNote:
In case of deleting such
CreateInteractionChoiceSet
(withoutVR
part) after it adding ( step 1 from ) SDL also requests invalidVR.DeleteCommand
OS & Version Information
Logs
SmartDeviceLinkCore.zip