Skip to content

Commit ca244ed

Browse files
authored
Merge pull request #1927 from laboro/ticket/OC-632_useless_flush_1_12
OC-632: "Maximum function nesting level of '300' reached" running oro…
2 parents 92e1193 + df44c5f commit ca244ed

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
@@ -297,7 +297,6 @@ definitions:
297297
- '@create_entity':
298298
class: JMS\JobQueueBundle\Entity\Job
299299
attribute: $.syncJob
300-
flush: true
301300
arguments:
302301
- $.commandName
303302
- [$.channelArguments]
@@ -341,7 +340,6 @@ definitions:
341340
- '@create_entity':
342341
class: JMS\JobQueueBundle\Entity\Job
343342
attribute: $.syncJob
344-
flush: true
345343
arguments:
346344
- $.commandName
347345
- [$.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)