smartdevicelink / sdl_core

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

SDL sends BasicCommunication.PolicyUpdate(sdl_snapshot.json) twice #3895

Closed VjKlepikov closed 2 years ago

VjKlepikov commented 2 years ago

Bug Report

SDL sends BasicCommunication.PolicyUpdate(sdl_snapshot.json) twice

Occurrences: ~2%
Reproduction Steps
  1. SDL and HMI are started
  2. HMI sends SDL.OnPolicyUpdate notification during triggered PTU by register App HMI->SDL: HMI sends SDL.OnPolicyUpdate
Expected Behavior

SDL->HMI: SDL.OnStatusUpdate("UPDATE_NEEDED") SDL->HMI: BasicCommunication.PolicyUpdate(sdl_snapshot.json)

Observed Behavior

SDL->HMI: SDL.OnStatusUpdate("UPDATE_NEEDED") SDL->HMI: SDL sends BasicCommunication.PolicyUpdate(sdl_snapshot.json) request twice

OS & Version Information
Test Case, Sample Code, and / or Example App

./test_scripts/Policies/App_Permissions/005_ATF_DISALLOWED_app_Id_policies_And_RequestType_Validation.lua

LitvinenkoIra commented 2 years ago

Luxoft team is going to fix this issue

ShobhitAd commented 2 years ago

Closed via https://github.com/smartdevicelink/sdl_core/pull/3921