Major
Detail
Bugfix
Major
Detail
#26382
Error messages "Duplicate tag name..." when starting an application in the IDE from a TL-Studio
#26405
TTypeRewriter logs warning "Unable to resolve items by external reference" also unnecessarily
#26431
Changed superclass relationship leads to changed attribute list in the form editor only after a restart
Bugfix
When trying to import a model in-app, an error occurs. The underlying message is
java.lang.IllegalArgumentException: Association end 'tl.model:TLStructuredTypePart$owner#self' already implemented by 'tl.model:TLStructuredType' in attribute 'localParts'. at com.top_logic.model.impl.TLModelImpl.addReference(TLModelImpl.java:176) at com.top_logic.model.util.TLModelUtil.addReference(TLModelUtil.java:711) at com.top_logic.element.model.ModelResolver.addReference(ModelResolver.java:611) at com.top_logic.element.model.ModelResolver$4.compute(ModelResolver.java:590) at com.top_logic.basic.phase.PhaseComputation.complete(PhaseComputation.java:42) at com.top_logic.element.model.DynamicModelService.loadModel(DynamicModelService.java:432) at com.top_logic.element.model.DynamicModelService.loadTransientModel(DynamicModelService.java:421) at com.top_logic.element.model.importer.XMIModelImportHandler.importTlModel(XMIModelImportHandler.java:195) at com.top_logic.element.model.importer.XMIModelImportHandler.processModelData(XMIModelImportHandler.java:144) at com.top_logic.layout.messagebox.AbstractCreateConfigurationDialog.lambda$1(AbstractCreateConfigurationDialog.java:176) at com.top_logic.layout.basic.Command$CommandChain.executeCommand(Command.java:80) ...
Cause
During migration for #25881 an incorrect attribute "TLStructuredType#parts" was created instead of "TLStructuredType#localParts". After rebooting the attribute "TLStructuredType#localParts" was created, so there are 2 references implementing the same tl:TLAssociationEnd.
Test
Verify that the TLStructuredType ("Structured Type") subject object has no parts attribute.
Data migration
- Automatic data migration (script Ticket_26460_remove_TLStructuredType_part.migration.xml) removes the newly created attribute localParts and renames the attribute parts.
- Alternatively InApp: remove the attribute "TLStructuredType#parts". (Not recommended, because this means that the attribute localParts does not exist since the beginning of time).