Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1579

Bound Actions do not work with content-type=XML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • (Java) V4 4.9.0
    • None
    • odata4-server
    • None

    Description

      Invoking a Bound Action with the request body set as XML fails with HTTP 400 and the following message: The parameter '<binding_parameter_name>' must not be null.

      This is caused by org.apache.olingo.server.core.deserializer.xml.ODataXmlDeserializer.actionParameters(InputStream, EdmAction) which checks all the parameters in the EDM (including binding param) against the request body.

      The logic is different from the JSON Deserializer which performs that check in createParameter().

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            falbert Florent Albert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: