Skip to content

Conversation

mwbowers
Copy link

@mwbowers mwbowers commented Oct 2, 2017

After bringing in the previous change of this file, I was able to call the Get method properly (I had been experiencing the same issue identified in Issue #277 ); however, I did have some issues with TreeNodes not being able to right click. With the previous version, the frameId was climbing the entire tree before resolving. Modified to resolve with the FrameworkId of the first ancestor that has one.

When attempting to find the framework, once one is found, stop analyzing the ancestors.
@jeffhuckins
Copy link

What you said didn't provide any resolution for how to make TreeNode.RightClick() work.

@mwbowers
Copy link
Author

In my case it was getting to the top parent, which did not have a FrameworkId, and setting the FrameworkId to the parent's (nothing) which caused the error. The change in this PR provides a resolution for this by getting the FrameworkId from the first ancestor that has one. If you're having the same trouble, pull the change.

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