Ticket #907 (closed Enhancement: wontfix)

Opened 9 years ago

Last modified 9 years ago

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.

Change History

comment:1 Changed 9 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 9 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to wontfix

Meanwhile we found other means to deal with the "association's double nature".

Note: See TracTickets for help on using tickets.