Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL requests invalid VR.AddCommand during CreateInteractionChoiceSet resumption without VR part #3888

Closed
GetmanetsIrina opened this issue Mar 23, 2022 · 3 comments
Labels

Comments

@GetmanetsIrina
Copy link

GetmanetsIrina commented Mar 23, 2022

Bug Report

SDL requests invalid VR.AddCommand during CreateInteractionChoice resumption without VR part

Precondition
  1. SDL and HMI are started
  2. Mobile app is registered and activated
Reproduction Steps
  1. Mobile app requests CreateInteractionChoiceSet without VR Command
  2. Perform transport reconnect
  3. Mobile app is registered with actual hash id
Expected Behavior

SDL does not request VR.AddCommand for the CreateInteractionChoiceSet resumption without VR Command and resumes CreateInteractionChoiceSet internally

Observed Behavior

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"}}}
Note:

In case of deleting such CreateInteractionChoiceSet(without VR part) after it adding ( step 1 from ) SDL also requests invalid VR.DeleteCommand

{"id":70,"jsonrpc":"2.0","method":"VR.DeleteCommand","params":{"appID":1326361392,"cmdID":1,"grammarID":null,"type":"Choice"}}
OS & Version Information
Logs

SmartDeviceLinkCore.zip

@GetmanetsIrina
Copy link
Author

Please notice this is a non-regression issue. It's also reproduced on release 8.0

@GetmanetsIrina GetmanetsIrina changed the title HMI requests invalid VR.AddCommand during CreateInteractionChoiceSet resumption without VR part SDL requests invalid VR.AddCommand during CreateInteractionChoiceSet resumption without VR part Mar 23, 2022
@LitvinenkoIra
Copy link
Contributor

Luxoft team is going to fix this issue

@ShobhitAd
Copy link
Contributor

Closed via #3938

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants