Feature #47228

Allow doctrine event listeners to be configured

Added by Alexander Berl over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
Persistence
Target version:
-
Start date:
2013-04-15
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

The gedmo doctrine behavioral extensions depend on the doctrine event listener system to be configured when setting up the entity manager.
This is currently not possible in Flow, but could easily be handled via configuration.

I therefore suggest adding a new configuration setting TYPO3.Flow.doctrine.eventSubscribers which is a list of classes that extend
\Doctrine\Common\EventSubscriber and are to be registered with the doctrine event manager inside the entityManagerFactory.


Related issues

Related to TYPO3.Flow - Task #41807: Initialize the eventmanager in the EntityManagerInterfaceUnder Review2012-10-09

Actions
Related to TYPO3.Flow - Feature #38177: Signal/Slot adapter for persistence eventsRejectedAdrian Föder2012-06-19

Actions
#1

Updated by Alexander Berl over 8 years ago

I mixed up event listeners and subscribers in the headline and description. I'm actually talking about the event subscribers, the basic idea could be extended for event listeners too, though those need a little different configuration syntax, as they need a list of event names and the event listener class.

#2

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19984

#3

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19984

#4

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19984

#5

Updated by Gerrit Code Review over 8 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19984

#6

Updated by Robert Lemke over 8 years ago

  • Target version deleted (2.1)
#7

Updated by Gerrit Code Review about 8 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19984

#8

Updated by Gerrit Code Review about 8 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19984

#9

Updated by Alexander Berl about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF