Choice Set Present followed directly by a Delete can have undefined behavior
joeljfischer opened this issue · 1 comments
joeljfischer commented
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
- Send a present with a large number of choices
- Immediately send a delete for several of those choices
Expected Behavior
The delete happens after the present
Observed Behavior
Undefined error behavior
OS & Version Information
- iOS Version: n/a
- SDL iOS Version: v7.3.0-develop
- Testing Against: n/a
Test Case, Sample Code, and / or Example App
See SDLChoiceSetManagerSpec L432 commented out test
theresalech commented
Corresponding app library issues:
- Java Suite: smartdevicelink/sdl_java_suite#1718
- JavaScript Suite: smartdevicelink/sdl_javascript_suite#474