major
nice-to-have
minor
#25217
Layout-Export führt zu invaliden Komponenten-Referenzen bei Referenzierung einer bestehenden Komponente
#25327
Modell-Editor: Falsche Kompositionsmarker, wenn Container-Typ in Diagramm von Content-Typ gezogen wird
enhancement
In the two tl:ExecutabilityRule elements, tl:IsTemplateLayout and tl:InsideTemplateLayout, the executability of the command is determined based on the component's template definition. The template definition specifies whether the component originates from a template or not (no definition available). To determine the template definition, the template’s arguments, among other things, are deserialized.
In the case of command executability, this is unnecessary, and the API is the wrong approach. The only information needed is whether the given component originates from a template or not. There is no need to deserialize the arguments specifically for this purpose.
Test
- Set a breakpoint in com.top_logic.layout.processor.LayoutResolver.loadLayout(File) and com.top_logic.layout.editor.LayoutTemplateUtils.deserializeTemplateArguments(Content, DynamicComponentDefinition)
- Log in to tl-demo
- If the application is not in design mode, none of the breakpoints should be triggered.