You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception thrown when parsing a URI for a OData Function with $expand and $filter statemenets.
I.E. ~/messages/delta?$expand=singleValueExtendedProperties($filter=id eq 'value')
where delta is a function that returns a collection:
AGS fails when parsing the URI, and the workload is never reached.
Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: initialState
at Microsoft.OData.ExceptionUtils.CheckArgumentNotNull[T](T value, String parameterName)
at Microsoft.OData.UriParser.MetadataBinder..ctor(BindingState initialState)
at Microsoft.OData.UriParser.SelectExpandBinder.BindFilter(QueryToken filterToken, IEdmNavigationSource navigationSource, IEdmTypeReference elementType, HashSet`1 generatedProperties, Boolean collapsed)
at Microsoft.OData.UriParser.SelectExpandBinder.GenerateExpandItem(ExpandTermToken tokenIn)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at Microsoft.OData.UriParser.SelectExpandBinder.Bind(ExpandToken expandToken, SelectToken selectToken)
at Microsoft.OData.UriParser.SelectExpandSemanticBinder.Bind(ODataPathInfo odataPathInfo, ExpandToken expandToken, SelectToken selectToken, ODataUriParserConfiguration configuration, BindingState state)
at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseSelectAndExpandImplementation(String select, String expand, ODataUriParserConfiguration configuration, ODataPathInfo odataPathInfo)
at Microsoft.OData.UriParser.ODataQueryOptionParser.ParseSelectAndExpand()
at Microsoft.Online.AggregatorService.Controller.ParserEngine.ParseAndExpand(RequestContext context, ODataUriParser parser, ParsedRequestState state) in C:\Dev\AGS-AggregatorService\src\dev\Controller\Parser\ParserEngine.cs:line 1294
Additional info
Note: that this works when being applied directly on the entity collection or without the $filter clause. I.E. the following requests work (forward the request to the exchange workload):
@gathogojr hey we have encountered the same issue, where expanding singleExtendedProperties is not supported using delta, but this is a key feature for our implementation. any progress on it?
Exception thrown when parsing a URI for a OData
Function
with$expand
and$filter
statemenets.I.E.
~/messages/delta?$expand=singleValueExtendedProperties($filter=id eq 'value')
where delta is a function that returns a collection:
Assemblies affected
OData .Net lib 7.6.3
Reproduce steps
GET https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages/delta?$expand=singleValueExtendedProperties($filter=id eq 'value')
Expected result
The URI to be parsed and sent over to workload.
Actual result
AGS fails when parsing the URI, and the workload is never reached.
Exception:
Additional info
Note: that this works when being applied directly on the entity collection or without the
$filter
clause. I.E. the following requests work (forward the request to the exchange workload):The text was updated successfully, but these errors were encountered: