Skip to content

SDL does not send revert RC.SetGlobalProperties requests to HMI during revert of resumption in case of erroneous response type #3667

@VjKlepikov

Description

@VjKlepikov

Bug Report

SDL does not send revert RC.SetGlobalProperties requests to HMI during revert of resumption in case of erroneous response type

Precondition:

1. Start SDL and HMI.
2. Connect mobile device via any transport.
3. Mobile application is registered and activated.
4. Mobile application successfully sends SetGlobalProperties(UI, TTS, RC)
...
 SetGlobalProperties { "userLocation":{"grid": {"col":2, "level":2,"row":2, "colspan":1,"levelspan":1, "rowspan":1 }
5. On HMI go to "Setting -> RPC Control -> App name -> UI.SetGlobalProperties
   Set ERROR resultCode (ex. GENERIC_ERROR ) from the drop-down list and click "Back" button
6. Perform unexpected disconnect and then reconnect (with correct hashId)
 Mobile application is unregistered with unexpectedDisconnect=true during transport disconnect
 Mobile application is registered with actual hashID
  => SDL starts resumption procedure
 [Interface(UI/VR/RC)].[ SetGlobalProperties ] is sent from SDL to HMI during resumption for application.
Reproduction Steps

HMI responds with an erroneous type of response ( ERROR resultCode ( ex. GENERIC_ERROR))
to UI.SetGlobalProperties and request from SDL
1. SDL→HMI: UI.SetGlobalProperties ( params )
2. SDL→HMI: TTS.SetGlobalProperties ( params )
3. SDL→HMI: RC.SetGlobalProperties
{ "userLocation":{"grid":{"col":2, "level":2,"row":2, "colspan":1,"levelspan":1, "rowspan":1 }}}
4. HMI→SDL: TTS.SetGlobalProperties ( resultCode: SUCCESS )
5. HMI→SDL: RC.SetGlobalProperties ( resultCode: SUCCESS )
6. HMI→SDL: UI.SetGlobalProperties ( resultCode = ( ex. GENERIC_ERROR) )

Expected Behavior

Remove already restored data
Send set of revert <Rpc_n> requests to HMI (except the one related to response)
1. SDL→HMI: TTS.SetGlobalProperties ( default params )
2. SDL sends revert RC.SetGlobalProperties request with default driver seat location properties to HMI
SDL→HMI: RC.SetGlobalProperties (
{ "userLocation":{"grid":{"col":0, "level":0,"row":0, "colspan":1,"levelspan":1, "rowspan":1 }}}
Note: Mobile app received respond RegisterAppInterfaceResponse( success=true, result_code=RESUME_FAILED )

Observed Behavior

Remove already restored data
Send set of revert <Rpc_n> requests to HMI (except the one related to response)
1. SDL→HMI: TTS.SetGlobalProperties ( default params )
2. SDL does not send revert RC.SetGlobalProperties requests with default driver seat location properties to HMI

SDL_HMI_Logs:

SDL_HMI_Log.zip

OS & Version Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions