Skip to content
Success

Changes

Summary

  1. Planner: Fix nullPointer when layouting hierarchical menus (commit: 1e81c7e) (details)
Commit 1e81c7eb193b8e3ea41519bdc98f904065155665 by Claudio Guglielmo
Planner: Fix nullPointer when layouting hierarchical menus

When the menu property is updated with the same value after the
initialization, a null pointer exception occurs when layouting
hierarchical menus. This is because the menu gets removed, but not
rendered again. The equals check in Widget#setPropertyInternal and
MenuBar#setMenuItems are not the same. This change prevents the removal
of the menus.

384547
(commit: 1e81c7e)
The file was modified eclipse-scout-core/src/planner/Planner.ts (diff)