Ticket #942 (closed Defect: fixed)
Deleting a child type programmatically should not depend on an activated Type Editor plugin
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.8 |
Component: | DeepaMehta Standard Distribution | Version: | 4.7 |
Keywords: | Cc: | dgf, Malte, JuergeN | |
Complexity: | 5 | Area: | Application Framework / API |
Module: | deepamehta-core |
Description
When a plugin migration deletes a child type at a time when the Type Editor plugin is not yet activated, the parent type's sequence will break, resulting in a corrupted DB. The workaround for the plugin developer is to let the plugin wait for the activation of the Type Editor plugin (using the importModels plugin property). This should not be required as it causes serious DB problems if forgotten.
See #900 for more background.
Thank you, Malte, for revealing this problem!
Change History
Note: See
TracTickets for help on using
tickets.