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
defect
(User-visible)
minor
#25609
Unerwartete Objektanlage bei Speichern von ForeignAttribute-Values ohne Basis-Objekt
In an InApp form, a "Third-Party Attribute" can be used to display and edit the value of an attribute from another object. The other object is calculated using a TLScript expression.
If the TLScript expression results in a "null" object, an editable field is still created for the attribute in edit mode.
When saving, this results in the creation of an object of the type specified by the external attribute. If this type is abstract, an error occurs.
Without #10091, a NullPointerException occurs instead:
Caused by: java.lang.NullPointerException at com.top_logic.element.meta.kbbased.PersistentObjectImpl.updateValues(PersistentObjectImpl.java:246) at com.top_logic.element.meta.AttributeUpdateContainer.updateContainer(AttributeUpdateContainer.java:233) at com.top_logic.element.meta.AttributeUpdateContainer.performUpdate(AttributeUpdateContainer.java:217) at com.top_logic.element.meta.form.component.AbstractApplyAttributedCommandHandler.saveMetaAttributes(AbstractApplyAttributedCommandHandler.java:47) at com.top_logic.element.meta.form.component.DefaultApplyAttributedCommandHandler.storeChanges(DefaultApplyAttributedCommandHandler.java:29) at com.top_logic.layout.form.component.AbstractApplyCommandHandler.storeChanges(AbstractApplyCommandHandler.java:157) at com.top_logic.layout.form.component.AbstractApplyCommandHandler.applyChanges(AbstractApplyCommandHandler.java:174) at com.top_logic.layout.form.component.AbstractFormCommandHandler.handleCommand(AbstractFormCommandHandler.java:144)
Change
If there is no underlying object, text is rendered instead indicating that there is no object for the attribute.
Test
TestForeignAttribute.script.xml