[ https://issues.apache.org/jira/browse/OLINGO-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16356739#comment-16356739 ]
Ramya commented on OLINGO-1229: ------------------------------- This is fixed as part of the commit https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=00d854f3876d03379958805aca3ef9a5e897e1fa > 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 > Priority: Minor > > 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)