enhancement
major
minor
defect
critical
major
minor
The configuration of the `SecurityParent`s is not applied to `StructuredElement`s because the class `com.top_logic.element.structured.wrap.StructuredElementWrapper` overrides the `getSecurityParents()` method with an empty implementation, thereby overriding the functionality of the superclass. This override must be removed. In addition, all other overrides of `getSecurityParents() ` must be checked and adjusted so that they do not disable the default functionality.
Implementation
- `StructuredElementWrapper ` no longer overrides ` getSecurityParents() `; the configured security parents now also apply to structured elements.
- Document returns the containing WebFolder in addition to the configured security parents.
- A deleted object has no security parents.
- The client-specific contacts are removed: the package com.top_logic.contact.mandatoraware (including COSPersonContact, COSCompanyContact, SAP, and Excel importers) and the client-specific contact search com.top_logic.contact.search. The Supplier, Client, and PersonContact filters and generators use the base classes from com.top_logic.contact.filter; the SupportsContacts filter and the CompanyContact generator are removed.
- The comment feature is removed: model module tl.comments with the type tl.comments:Comment, table Comment (TLCOMMENT), package com.top_logic.element.comment, layout template commons/comments/comments.xml, and CommentNamingScheme.
Migration
Comments: The migration tl-element:Ticket_30079_Remove_comments deletes the module tl.comments and the table Comment. All existing comments will be deleted in the process.
An application that declares attributes of type tl.comments:Comment in its model must
- remove these attributes from its model (*.model.xml) and from layouts, forms, and security configuration (grants to the tl.comments module),
- create its own migration that depends on tl-element:Ticket_30079_Remove_comments and removes the attributes from the pre-processors, e.g.:
{{{#!xml <dependencies> <dependency name="Ticket_30079_Remove_comments" module="tl-element"/> ... </dependencies> <pre-processors> <-- Reference: also deletes the stored references. --> <delete-reference name="my.module:MyType#comments"/> <-- Derived property. --> <delete-property name="my.module:OtherType#comments"/> </pre-processors> }}}
- Remove all instances of the commons/comments/comments.xml template and the classes from com.top_logic.element.comment.
Client-specific contacts: Any application that uses classes from com.top_logic.contact . mandatoraware or com.top_logic.contact.search (e.g., COSPersonContact / COSCompanyContact as implementations of contact types, the SAP/Excel importers, or ContactSearchComponent) must remove these or replace them with its own implementations. Anyone using the SupportsContacts filter or the CompanyContact generator from FilterFactory / GeneratorFactory must remove these references. Likewise, com.top_logic.contact.filter.ContactListModelBuilder and com.top_logic.contact.external.importer.ExcelExternalContactImporter are no longer used; any references to them in layouts, configuration, and code must be removed.
Configuration: The file WEB-INF/conf/contactConf.xml is no longer used; the metaConf.txt file of the tl-contact module directly includes contactConf.config.xml. Any application that overrides or references contactConf.xml in its own metaConf.txt file must adjust this accordingly.