← Back to team overview

datafinder-team team mailing list archive

[Bug 714198] Re: missing event listener for import in script api

 

Added a general event listener mechansim.
Currently, you can only subscribe to the performImport event.

Additional, event support is provided in later versions. However this is
quite simple:

- Just annotate a method / function with the developed @Observable annotation.
- Create a event class in datafinder.core.events.
- Add a specific constant and extend the _eventMap in datafinder.script_api.events 

** Changed in: datafinder
       Status: In Progress => Fix Committed

** Changed in: datafinder
   Importance: Undecided => High

** Changed in: datafinder
    Milestone: None => 2.2.0

-- 
You received this bug notification because you are a member of
DataFinderTeam, which is subscribed to DataFinder.
https://bugs.launchpad.net/bugs/714198

Title:
  missing event listener for import in script api

Status in DataFinder - flexible data management:
  Fix Committed

Bug description:
  To automatically start a script after importing an item, a listener is
  missing in the api, as well in the system itself.



References