Skip to content

Workaround for trace infinity loop in exception handling#66

Merged
tmotyl merged 4 commits intomacopedia:magento2from
marvinhinz:patch-1
Jan 16, 2020
Merged

Workaround for trace infinity loop in exception handling#66
tmotyl merged 4 commits intomacopedia:magento2from
marvinhinz:patch-1

Conversation

@marvinhinz
Copy link
Copy Markdown

I copied the workaround from #54 because the pr is not yet splitted and i needed the functionality.

I copied the workaround from macopedia#54 because the pr is not yet splitted and i needed the functionality.
@tmotyl
Copy link
Copy Markdown
Member

tmotyl commented Dec 30, 2019

Ive got the counter solution, looks ok, but why did you also change the dirname part?

@marvinhinz
Copy link
Copy Markdown
Author

Ive got the counter solution, looks ok, but why did you also change the dirname part?

Oops, didnt see this while copying. I'll fix it

Comment thread magmi/inc/magmi_engine.php Outdated
Comment thread magmi/inc/magmi_engine.php Outdated
}
// simple max trace depth fix
if (++$counter % 20) {
if (++$counter % 20 == 0) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets have === just for a sake of being clean.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done :)

@tmotyl tmotyl merged commit a162c39 into macopedia:magento2 Jan 16, 2020
@tmotyl
Copy link
Copy Markdown
Member

tmotyl commented Jan 16, 2020

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants