HMI responds with SUCCESS resultCode instead of WARNINGS to AddCommand with SecondaryImage
in case isTemplate=true and image type is not .png
#514
Labels
Description:
HMI responds with
SUCCESS
resultCode instead ofWARNINGS
toAddCommand
request withSecondaryImage
in caseisTemplate=true
and image type is not .pngOccurrence: 10/10
Preconditions:
PutFile
RPCSteps to reproduce:
AddCommand("SecondaryImage" ={ "value": <name>.jpg, "isTemplate" = true, "imageType" = "DYNAMIC" }, ... )
Expected behavior:
HMI receives
UI.AddCommand("SecondaryImage" = { "value": <name>.jpg, "isTemplate" = true, "imageType" = "DYNAMIC" })
request and responds withWARNINGS
result codeObserved behavior:
HMI responds with
SUCCESS
result code toUI.AddCommand
request with the image not supported as a templateEnvironment:
SDL: https://github.com/smartdevicelink/sdl_core/tree/develop (c9fc559)
HMI: https://github.com/smartdevicelink/sdl_hmi/tree/develop (41c804d)
SPT: SPT: 20210305-Android (1076)
The text was updated successfully, but these errors were encountered: