You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dhiraj Bokde (JIRA)" <ji...@apache.org> on 2013/11/27 19:19:35 UTC

[jira] [Updated] (CAMEL-7021) Allow clearing of field 'Name' for upserts

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

Dhiraj Bokde updated CAMEL-7021:
--------------------------------

    Description: 
The Salesforce component clears the field 'Name' when upserting SObjects assuming its a common external ID. But Salesforce allows creating SObjects with custom external IDs, and the user may need to insert/update the 'Name' field. The method clearBaseFields in AbstractSObjectBase should not clear this field to support this use case. 
This was originally submitted as a github pull request https://github.com/apache/camel/pull/57 by mdarcemont. 

  was:The Salesforce component clears the field 'Name' when upserting SObjects assuming its a common external ID. But Salesforce allows creating SObjects with custom external IDs, and the user may need to insert/update the 'Name' field. The method clearBaseFields in AbstractSObjectBase should not clear this field to support this use case. 


> Allow clearing of field 'Name' for upserts
> ------------------------------------------
>
>                 Key: CAMEL-7021
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7021
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 2.12.2
>            Reporter: Dhiraj Bokde
>             Fix For: 2.12.3
>
>
> The Salesforce component clears the field 'Name' when upserting SObjects assuming its a common external ID. But Salesforce allows creating SObjects with custom external IDs, and the user may need to insert/update the 'Name' field. The method clearBaseFields in AbstractSObjectBase should not clear this field to support this use case. 
> This was originally submitted as a github pull request https://github.com/apache/camel/pull/57 by mdarcemont. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)