import-cli-simple icon indicating copy to clipboard operation
import-cli-simple copied to clipboard

Events on Subjects not working

Open c-schwan opened this issue 5 years ago • 0 comments

Listeners on Subjects level are not recognized.

"listeners": [ { "subject.artefact.header.row.process.start": [ "import.listener.validate.header.row" ] } ]

Please take a look in AbstractSubject where the EventName is generated.

protected function getEventName($eventName) { return sprintf( '%s.%s.%s.%s', $this->getConfiguration()->getPluginConfiguration()->getOperationConfiguration()->getName(), $this->getConfiguration()->getPluginConfiguration()->getId(), $this->getConfiguration()->getId(), $eventName ); }

c-schwan avatar Oct 27 '20 14:10 c-schwan