olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OLINGO-1229) Validate Function import parameters in Uri Parser
Date Thu, 01 Feb 2018 06:28:00 GMT
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)

Mime
View raw message