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

NotSupportedException thrown when calling CreateRelatedLink on WorkItem #216

Open
rjmurillo opened this issue Mar 26, 2019 · 1 comment
Open
Labels
Milestone

Comments

@rjmurillo
Copy link
Member

rjmurillo commented Mar 26, 2019

Seen in version 9.0 and 10.0

The method CreateRelatedLink is not overridden in the SOAP implementation. 😳

Repro

var wis = ...;
var wi = wis.Query(12345);

// Dies
wi.AddParentLink(wis, 45678);

// Also dies
var lt = wis.WorkItemLinkTypes[CoreLinkTypeReferenceNames.Hierarchy];
var link = item.CreateRelatedLink(parentId, lt.ReverseEnd);
wi.Links.Add(link);

Stack

Qwiq.Core.dll!Qwiq.WorkItem.CreateRelatedLink(int relatedWorkItemId, Qwiq.IWorkItemLinkTypeEnd linkTypeEnd)
Qwiq.Core.dll!Qwiq.Exceptions.ExceptionHandlingDynamicProxy.Intercept(Castle.DynamicProxy.IInvocation invocation)

public virtual IRelatedLink CreateRelatedLink(int relatedWorkItemId, IWorkItemLinkTypeEnd linkTypeEnd = null)
{
throw new NotSupportedException();
}

@rjmurillo rjmurillo added the bug label Mar 26, 2019
@rjmurillo rjmurillo added this to the Future milestone Mar 26, 2019
@rjmurillo
Copy link
Member Author

Looks like this was resolved with #203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant