ODataUtils
ODataUtils copied to clipboard
Error on Single property and no navigation parameters
Filing this issue per advise from Andrew Menagarishvili [email protected]
On this error… Exception is ““Method invocation failed because [ODataUtils.TypeProperty] does not contain a method named 'op_Addition'” It is coming from v3 Adapter: Microsoft.PowerShell.ODataAdapter.ps1 Line 397: $entityAndNavigationProperties = (GetAllProperties $entitySet.Type) + (GetAllProperties $entitySet.Type -IncludeOnlyNavigationProperties)
Looks like it breaks on the first EntityType that has a single property and no navigation properties, because it treats this as adding two objects, as compared to adding additional object to an array (what is happening for prior EntityTypes).