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 sends wrong response for SetGlobalProperties, ChangeRegistration if HMI responds with UI.IsReady with "available" = false #3924

Open
VjKlepikov opened this issue Jun 10, 2022 · 0 comments

Comments

@VjKlepikov
Copy link

VjKlepikov commented Jun 10, 2022

Bug Report

SDL sends wrong response for SetGlobalProperties, ChangeRegistration if HMI responds with UI.IsReady with "available" = false
- SDL does respond SetGlobalProperties(resultCode: UNSUPPORTED_RESOURCE, success: false) to App
- SDL does respond ChangeRegistration(resultCode: SUCCESS, success: false) to App

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. App requests with multiple interfaces to SDL
Expected Behavior

SDL does not send UI. request to HMI
SDL sends [Interface].RPC request to HMI
SDL does respond RPC with resultCode: UNSUPPORTED_RESOURCE, success: true to App

Observed Behavior

SDL does not send UI. request to HMI
SDL sends [Interface].RPC request to HMI
SDL sends wrong response:

  • SDL does respond SetGlobalProperties(resultCode: UNSUPPORTED_RESOURCE, success: false) to App
  • SDL does respond ChangeRegistration(resultCode: SUCCESS, success: false) to App
OS & Version Information

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

Logs:

Logs_3924.zip

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

No branches or pull requests

1 participant