Changes between Initial Version and Version 2 of Ticket #1067
- Timestamp:
- 26.02.2017 17:16:54 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1067
- Property Status changed from new to accepted
-
Ticket #1067 – Description
initial v2 1 Needed for #1060 1 Needed for #1060. 2 3 Background: since DM 4.8.4 when creating a type the core passes a sole `TopicModel` to the `preCreateTopic()` listener (instead a `TypeModel`). This is a consequence of 4.8.4's "Non-shared type extensions" feature (#1021). So, in the `preCreateTopic()` listener a plugin can't no longer cast the passed topic model into `TypeModel` in case it want operate on the type-specific parts. The solution is to introduce `preCreateTopicType()` and `preCreateAssociationType()` listeners which receive explicit topic/assoc type models.