Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in CircularDependency tracking #579

Closed
wants to merge 1 commit into from
Closed

Conversation

Yshayy
Copy link

@Yshayy Yshayy commented Sep 29, 2014

Error in InstanceLookup constructor may result in Exception when attempting to find scope, such an exception cause inconsistent _callDepth value.
This can cause a CircularDependency exception by reaching the threshold of the max depth.

Review on Reviewable

"var activation = new InstanceLookup(registration, this, currentOperationScope, parameters);" 
can raise exception resulting in inconsistent _callDepth value with _activationStack.
@alexmg
Copy link
Member

alexmg commented Oct 29, 2014

Sounds like a nice catch. Can you provide a unit test to demonstrate the problem and prove the fix?

@tillig
Copy link
Member

tillig commented Nov 17, 2015

I believe we're still looking for a unit test on this one before we can pull it in, yes?

@tillig
Copy link
Member

tillig commented Sep 20, 2016

This has been sitting for a while and is now not able to be taken due to changes in the branching structure. We also are still unclear on what specific use case this fixes since there is no test.

I'm going to link this to issue #477 as a place to improve circular dependency handling.

@tillig
Copy link
Member

tillig commented Sep 20, 2016

Correction: follow this on #798.

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.

None yet

3 participants