-
Notifications
You must be signed in to change notification settings - Fork 195
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
AddLabelAndDescription of a Term throws "PnP.Core.ClientException: Property Id was not yet loaded" #1189
Comments
@JuergenRB : this indeed fails, it's however a harder problem to tackle. In short when using this method the underlying graph call gets a term, but there's no information about it's parent. When it's a top level term the termset of the term can be requested, but when it's a child term the term's parent is another term and in Graph there's no support for getting the parent of a term. I'm evaluating whether I can plug-in a CSOM call (as there's a Term.Parent in CSOM) to workaround. A workaround for now can be to load the term by traversing the termset |
Thanks for your effort, I am curious about the final implementation. |
…properties needed to enable operations on the loaded term #1189
@JuergenRB : a fix has been pushed, you can try this with the next nightly. Closing this issue now, please re-open or create a new one in case things still don't work for you. |
@jansenbe: I was able to test now with nightly 1.9.68 - I get a different error for the I just find it strange, because in my code the DefaultLanguage was definitely loaded for the TermStore. The 1 Level childs of TermSets do not have the issue. |
@JuergenRB : the DefaultLanguage property was used in a place while it was not sure it was loaded, so I've added an |
Category
Describe the bug
When trying to set the label for an existing term, an error occurs.
Steps to reproduce
Proceed as described in the documentation
Expected behavior
Updates the label without error
The text was updated successfully, but these errors were encountered: