You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When some application contains a hierarchy of submenus and commands and mobile app requests to delete the parent node which has child nodes then SDL requests HMI to delete the parent node first, and then recursively deletes all children which is wrong and may confuse HMI if it automatically handles deletion of tree hierarchy on its side as well.
Reproduction Steps
SDL and HMI are started
Mobile device connected
Mobile app is registered and activated
SubMenu item is added
AddSubMenu("menuID":1, "menuName":"Submenu Name 1")`
Nested submenu items are added (each submenu is nested in the previous submenu)
Send AddSubMenu(parentID=1, "menuID":2, "menuName":"Submenu Name 2")
Send AddSubMenu(parentID=2, "menuID":3, "menuName":"Submenu Name 3")
Send AddSubMenu(parentID=3, "menuID":4, "menuName":"Submenu Name 4")
AddCommand item is added to nested SubMenu
Send AddCommand("menuParams: { "parentID:4, "menuName":"Item to Add 1", "position":0)
Delete submenu item (item is menu-tree branch)
Send DeleteSubMenu("menuID":1)
Bug Report
When some application contains a hierarchy of submenus and commands and mobile app requests to delete the parent node which has child nodes then SDL requests HMI to delete the parent node first, and then recursively deletes all children which is wrong and may confuse HMI if it automatically handles deletion of tree hierarchy on its side as well.
Reproduction Steps
AddSubMenu("menuID":1, "menuName":"Submenu Name 1")`
Send AddSubMenu(parentID=1, "menuID":2, "menuName":"Submenu Name 2")
Send AddSubMenu(parentID=2, "menuID":3, "menuName":"Submenu Name 3")
Send AddSubMenu(parentID=3, "menuID":4, "menuName":"Submenu Name 4")
Send AddCommand("menuParams: { "parentID:4, "menuName":"Item to Add 1", "position":0)
Send DeleteSubMenu("menuID":1)
Expected Behavior
Observed Behavior
OS & Version Information
The text was updated successfully, but these errors were encountered: