-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report
When the library disconnects from core, the ScreenManager sets the _softButtonIDBySoftButtonManager and _softButtonIDByAlertManager to null, but these Sets are not reinitialized on reconnection. This causes errors in the library from trying to call Set methods on a null value.
Reproduction Steps
- Connect and disconnect an app by sending RegisterAppInterface and UnregisterAppInterface RPCs.
- Reconnect the app with a RegisterAppInterface.
- Display a list of SoftButtonObjects with the ScreenManager's setSoftButtonObjects method.
screenManager.setSoftButtonObjects([softButtonObject1, softButtonObject2, softButtonObject3]);
Expected Behavior
The SoftButtons are displayed in the HMI.
Observed Behavior
The SoftButtons are not displayed in the HMI and error is logged from the library.
Browser & Version Information
- SDL JavaScript Suite Module: node
- SDL JavaScript Version: v1.5.0 RC
- Testing Against: Manticore v2.8.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working