[BUG] [Restore-PnPListItemVersion] Got "The object is not associated with an object identity or the object identity is invalid." when list item contains allow multiple value Taxonomy Field #4255
Labels
bug
Something isn't working
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Are you using
Invoke-PnPSiteTemplate
orGet-PnPSiteTemplate
? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.answer: I don't use any PnPSiteTemplate command.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues
Reporting an Issue
It will throw "Restore-PnPListItemVersion: The object is not associated with an object identity or the object identity is invalid." error if you use
Restore-PnPListItemVersion
command on a list which contains multiple value allowed taxonomy field.Expected behavior
It should restore the list item successfully
Actual behavior
You will get error like this if the target list contains "TaxonomyFieldTypeMulti" taxonomy field
Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name "PnP.PowerShell" -ListAvailable
)2.12.0
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: