major
minor
defect
major
minor
#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
defect
When attempting to import a model within the app, an error occurs. The underlying message is
java.lang.IllegalArgumentException: Association end 'tl.model:TLStructuredTypePart$owner#self' is 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 the migration for #25881, an incorrect "TLStructuredType#parts" attribute was created instead of "TLStructuredType#localParts". After rebooting, the "TLStructuredType#localParts" attribute was created, resulting in two references that implement the same `tl:TLAssociationEnd`.
Test
Verify that the domain object TLStructuredType (“Structured Type”) does not have a parts attribute.
Data Migration
- The automatic data migration (script Ticket_26460_remove_TLStructuredType_part.migration.xml) removes the newly created " localParts " attribute and renames the " parts " attribute.
- Alternatively, in-app: Remove the "TLStructuredType#parts" attribute. (Not recommended, since this means the localParts attribute has not existed since the beginning of time.)