Dhiraj Bokde created CAMEL-8516:
-----------------------------------

             Summary: Salesforce component does not return the list of matching 
records for HTTP status code 300
                 Key: CAMEL-8516
                 URL: https://issues.apache.org/jira/browse/CAMEL-8516
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
    Affects Versions: 2.15.0, 2.14.2, 2.13.4
            Reporter: Dhiraj Bokde
            Assignee: Dhiraj Bokde
             Fix For: 2.14.3, 2.15.1


Salesforce returns a list of matching records for non-unique external id with a 
status code 300. The component looks for List<RestError> by default, which 
causes a parse exception for 300. 
The error handling code should check for an empty response body and use the 
status line as the exception message if its missing or empty. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to