You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2017/03/23 12:14:41 UTC

[jira] [Resolved] (CAMEL-10300) camel-salesforce component missing salesforce fields

     [ https://issues.apache.org/jira/browse/CAMEL-10300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoran Regvart resolved CAMEL-10300.
-----------------------------------
    Resolution: Not A Problem

I'm resolving this, if you can provide a way to reproduce the issue please reopen.

> 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.15#6346)