Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Unassigned: ReturnType of an action or function should be an element in $metadata document. [1572]

$
0
0

ReturnType of an action or function should be an element in $metadata document according to the CSDL v4 protocol, but now it is an attribute.

Repro steps:
1. Open Fiddler
2. Run E2E test case ProvideOverloadToSupplyEntitySetConfiguration in ActionMetadataTests.cs
3. View the traffic in Fiddler

Expected:

<Action Name="GetProductsByCategory" IsBound="true" Nullable="false" m:IsAlwaysBindable="true">
<ReturnType Type="Collection(WebStack.QA.Test.OData.ModelBuilder.ActionProduct)" />
<Parameter Name="bindingParameter" Type="WebStack.QA.Test.OData.ModelBuilder.ActionProduct" />
</Action>
Actual:
<Action Name="GetProductsByCategory" IsBound="true" ReturnType="Collection(WebStack.QA.Test.OData.ModelBuilder.ActionProduct)" Nullable="false" m:IsAlwaysBindable="true">
<Parameter Name="bindingParameter" Type="WebStack.QA.Test.OData.ModelBuilder.ActionProduct" />
</Action>



Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>