ENTWFOwnerGroupData.IsNameUnique
Here I get to demonstrate my laughable understanding of Linq...
I added an owner to a workflow I created. That worked fine. Then I went back to edit the description, and got the "The name must be unique." error.
I took a look at ENTWFOwnerGroupData.IsNameUnique, to see what it was returning:
return (result.Single().CountOfNames == 0);
Shouldn't that line actually be return (result.Single().CountOfNames <= 1);?
Otherwise any update on an existing owner will fail.
Unless there's something else I'm missing?
Thanks.
Tim
|