smartdevicelink/sdl_javascript_suite

Choice Set Present followed directly by a Delete can have undefined behavior

Closed this issue · 1 comments

Bug Report

In certain cases, a present can happen when the choices are not available on the head unit. The present operation should double-check when it starts that all cells are preloaded on the head unit. When a present the operation should be created along with the preload, and updated when the preload finishes. That way the delete will be slotted after the present.

Reproduction Steps
  1. Send a present with a large number of choices
  2. Immediately send a delete for several of those choices
Expected Behavior

The delete happens after the present

Observed Behavior

Undefined error behavior

Closed by #477