[
https://issues.apache.org/jira/browse/CAMEL-8516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dhiraj Bokde closed CAMEL-8516.
-------------------------------
Resolution: Fixed
Fix merged to branches
master
camel-2.12.x
camel-2.13.x
camel-2.14.x
camel-2.15.x
> 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: Improvement
> Components: camel-salesforce
> Affects Versions: 2.13.4, 2.14.2, 2.15.0
> Reporter: Dhiraj Bokde
> Assignee: Dhiraj Bokde
> Priority: Minor
> Labels: camel-salesforce, salesforce
> 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)