[
https://issues.apache.org/jira/browse/CAMEL-10300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703045#comment-15703045
]
Rajesh A commented on CAMEL-10300:
----------------------------------
Zoran, I am in vacation, will be back in two days. Once I am back, will
test your suggestion and let you know if that helps.
Thanks
Rajesh
On Sun, Nov 27, 2016 at 10:24 AM, Zoran Regvart (JIRA) <[email protected]>
> camel-salesforce component missing salesforce fields
> ----------------------------------------------------
>
> Key: CAMEL-10300
> URL: https://issues.apache.org/jira/browse/CAMEL-10300
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce
> Affects Versions: 2.18.0
> Reporter: Rajesh A
> Assignee: Zoran Regvart
>
> All my queries using camel-salesforce component 2.18.x misses all fields
> except 'ID'.
> For example the below query should result Account objects populated with ID,
> name, company.
> Select id, name, company from Account
> But, the resultant Account objects contain only ID field populated.
> I looked the log and did debug the code, this is what I found:
> 2.18.x version uses com.fasterxml.jackson version
> where as 2.17.x uses org.codehaus.jackson version.
> com.fasterxml.jackson version parses string to Object but just includes the
> ID field and ignores other fields.
> Here is the piece of code that does this -> SalesforceConsumer.java
> // create the expected SObject
> in.setBody(OBJECT_MAPPER.readValue(
> new StringReader(sObjectString), sObjectClass));
> Please fix this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)