Skip to content

Commit

Permalink
temporary disable lazy-loading of trigger listeners to workaround the…
Browse files Browse the repository at this point in the history
… problem with lazy services that are not initialized in case of the call of public method of the parent class
  • Loading branch information
fduch committed Nov 7, 2016
1 parent ee8dbb6 commit 26cc04f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Resources/config/triggers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,18 @@

<service id="gtt.workflow.trigger.event.listener.action"
parent="gtt.workflow.trigger.event.listener.action.abstract"
class="Gtt\Bundle\WorkflowExtensionsBundle\Trigger\Event\ActionListener"
lazy="true">
class="Gtt\Bundle\WorkflowExtensionsBundle\Trigger\Event\ActionListener">
<argument type="service" id="gtt.workflow.action.executor" />
</service>

<service id="gtt.workflow.trigger.event.listener.expression"
parent="gtt.workflow.trigger.event.listener.action.abstract"
class="Gtt\Bundle\WorkflowExtensionsBundle\Trigger\Event\ExpressionListener"
lazy="true">
class="Gtt\Bundle\WorkflowExtensionsBundle\Trigger\Event\ExpressionListener">
</service>

<service id="gtt.workflow.trigger.event.listener.scheduler"
parent="gtt.workflow.trigger.event.listener.action.abstract"
class="Gtt\Bundle\WorkflowExtensionsBundle\Trigger\Event\SchedulerListener"
lazy="true">
class="Gtt\Bundle\WorkflowExtensionsBundle\Trigger\Event\SchedulerListener">
<argument type="service" id="gtt.workflow.action_scheduler" />
</service>

Expand Down

0 comments on commit 26cc04f

Please sign in to comment.