Ticket #907 (closed Enhancement: wontfix)
Core API: "prevent default" for Core events
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.8 |
Component: | DeepaMehta Standard Distribution | Version: | 4.7 |
Keywords: | Cc: | dgf, Malte | |
Complexity: | 5 | Area: | Application Framework / API |
Module: | deepamehta-core |
Description
A plugin listener, e.g. preUpdateAssociation(), should have the ability to fully take over control, and prevent the Core's default behavior, that in this case is storing the updated association in the DB.
Without a "prevent default" mechanism the Core API and implementation becomes quite ugly when it comes to the association's double nature. This becomes notorious in case of editing association definitions manually. At one hand an association definition has the behavior of a generic association, at the other hand it has special obligations regarding the cached type definitions.