smartdevicelink / sdl_javascript_suite

SmartDeviceLink library for applications developed in JavaScript
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

TemplateConfiguration not set in currentScreenData in TextAndGraphicManager on RPC >= 6 #559

Closed crokita closed 1 year ago

crokita commented 1 year ago

Bug Summary

See the related Java Suite issue here

For core RPC versions 6+, TemplateConfiguration data is not retained in the currentScreenData property in the TextAndGraphicManager after it is set via changeLayout. Check the logic in _updateCurrentScreenDataFromShow for this behavior.

Reproduction Steps

  1. Invoke screen manager's changeLayout method with a TemplateConfiguration with a valid template param string
  2. Wait a bit and then read the current screen data in screenManager._textAndGraphicManager._currentScreenData

Expected Behavior: TemplateConfiguration should be set in currentScreenData

Observed Behavior: TemplateConfiguration is not set in currentScreenData

Which projects have you seen this bug on?

No response

JavaScript Version(s)

1.7.0

sdl_javascript Version

1.7.0

Testing Environment(s)

Manticore v2.10.0

Relevant log output

No response

theresalech commented 1 year ago

Closed via #560