[ https://issues.apache.org/jira/browse/CAMEL-10300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoran Regvart reassigned CAMEL-10300: ------------------------------------- Assignee: Zoran Regvart > 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)