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)

Reply via email to