Skip to content

Commit df44c5f

Browse files
author
Yevhen Shyshkin
committed
OC-632: "Maximum function nesting level of '300' reached" running oro:cron:imap-sync
- removed useless flushes
1 parent 3445237 commit df44c5f

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

Diff for: src/OroCRM/Bundle/AnalyticsBundle/Resources/config/process.yml

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ definitions:
2323
- '@create_entity':
2424
class: JMS\JobQueueBundle\Entity\Job
2525
attribute: $.syncJob
26-
flush: true
2726
arguments:
2827
- $.commandName
2928
- [$.channelArguments]

Diff for: src/OroCRM/Bundle/CaseBundle/Resources/config/process.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ definitions:
6969
- '@create_entity':
7070
class: OroCRM\Bundle\CaseBundle\Entity\CaseEntity
7171
attribute: $.caseEntity
72-
flush: true
72+
flush: true # flush is required to allow activity handling later
7373
data:
7474
owner: $.mailbox.processSettings.owner
7575
assignedTo: $.mailbox.processSettings.assignTo

Diff for: src/OroCRM/Bundle/MagentoBundle/Resources/config/process.yml

-2
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ definitions:
293293
- '@create_entity':
294294
class: JMS\JobQueueBundle\Entity\Job
295295
attribute: $.syncJob
296-
flush: true
297296
arguments:
298297
- $.commandName
299298
- [$.channelArguments]
@@ -337,7 +336,6 @@ definitions:
337336
- '@create_entity':
338337
class: JMS\JobQueueBundle\Entity\Job
339338
attribute: $.syncJob
340-
flush: true
341339
arguments:
342340
- $.commandName
343341
- [$.channelArguments]

Diff for: src/OroCRM/Bundle/SalesBundle/Resources/config/oro/workflow/b2b_flow_lead/transition_definitions.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ workflows:
162162
- '@create_entity': # create an opportunity
163163
class: OroCRM\Bundle\SalesBundle\Entity\Opportunity
164164
attribute: $.result.opportunity
165-
flush: true
165+
flush: true # flush is required to build redirect URL later
166166
data:
167167
name: $opportunity_name
168168
contact: $lead.contact

0 commit comments

Comments
 (0)