Verbesserung
Wichtig
Detail
Detail
Fehlerbehebung
(Nutzer-sichtbar)
Wenn im Modellbaum (Administration > Development > Modell Editor) ein Rechtsklick ausgeführt wird, führt dies zu einer ClassCastException:
Caused by: java.lang.ClassCastException: class com.top_logic.element.meta.PersistentClass cannot be cast to class com.top_logic.layout.tree.model.TLTreeNode (com.top_logic.element.meta.PersistentClass and com.top_logic.layout.tree.model.TLTreeNode are in unnamed module of loader 'app') at com.top_logic.layout.table.tree.TreeTableContextMenuFactory$Provider.mapContextObject(TreeTableContextMenuFactory.java:51) at com.top_logic.layout.basic.contextmenu.component.factory.TypeBasedContextMenuFactory$Provider.mapContext(TypeBasedContextMenuFactory.java:162) at com.top_logic.layout.table.tree.TreeTableContextMenuFactory$Provider.mapContextObject(TreeTableContextMenuFactory.java:51) at com.top_logic.layout.basic.contextmenu.component.factory.TypeBasedContextMenuFactory$Provider.mapContext(TypeBasedContextMenuFactory.java:162) at com.top_logic.layout.basic.contextmenu.component.factory.TypeBasedContextMenuFactory$Provider.getContextMenu(TypeBasedContextMenuFactory.java:144) at com.top_logic.layout.basic.contextmenu.component.factory.adapter.TypeBasedContextMenuProvider.getContextMenu(TypeBasedContextMenuProvider.java:74) at com.top_logic.layout.table.control.TableControl.createContextMenu(TableControl.java:447) at com.top_logic.layout.basic.contextmenu.control.ContextMenuOpener.execute(ContextMenuOpener.java:62) at com.top_logic.layout.basic.AbstractControlBase.executeCommand(AbstractControlBase.java:981)
Test
In den Modelleditor navigieren und Rechtsklick auf den Modellbaum ausführen. Es sollte sich ein Kontextmenü öffnen.