You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (JIRA)" <ji...@apache.org> on 2018/02/01 06:28:00 UTC
[jira] [Created] (OLINGO-1229) Validate Function import parameters
in Uri Parser
Ramya created OLINGO-1229:
-----------------------------
Summary: Validate Function import parameters in Uri Parser
Key: OLINGO-1229
URL: https://issues.apache.org/jira/browse/OLINGO-1229
Project: Olingo
Issue Type: Improvement
Components: odata4-server
Affects Versions: (Java) V4 4.4.0
Reporter: Ramya
If a function is of the type
<Function Name="FuShipmentWithOrder">
<Parameter Name="OrderNo" Type="Edm.Int32" Nullable="false"/>
<ReturnType Type="ShipmentTrackingService.Shipment"/>
</Function>
This function takes an integer parameter. But library does not throw any error even if we give a string value for this parameter. Basically library is not doing any parameter validations(facet validations). It is better to handle such validations in Uri Parser itself like it validates other uri Info.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)