camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhiraj Bokde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8890) camel-salesforce-maven-plugin: Unable to generate DTOs due to new encrypted field
Date Wed, 30 Sep 2015 00:57:04 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936184#comment-14936184
] 

Dhiraj Bokde commented on CAMEL-8890:
-------------------------------------

[~davsclaus], you are right, the field exists on master and camel-2.15.x branches. 

> camel-salesforce-maven-plugin: Unable to generate DTOs due to new encrypted field
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-8890
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8890
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 2.15.2
>            Reporter: Simon Delfab
>            Assignee: Dhiraj Bokde
>
> The maven plugin is failing to generate the DTOs. It appears that Salesforce has recently
introduced a new boolean field call encrypted to the 'DescribeSObjectResult' object [1,2]
> The fix is to modify the org.apache.camel.component.salesforce.api.dto.SObjectField and
add the following:
> private Boolean encrypted;
>    public Boolean getEncrypted() {
>         return encrypted;
>     }
>     public void setEncrypted(Boolean encrypted) {
>         this.encrypted = encrypted;
>     }
> With this change the DTOs are generated. However, not sure if there is anything else
which needs to be done.
> Btw, I am surprised that this new field causes a problem because the default API version
Camel-Salesforce is configured to is 33.0 and this new field appears in 34.0.
> [1] https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_describesobjects_describesobjectresult.htm#topic-title
> [2] http://releasenotes.docs.salesforce.com/en-us/summer15/release-notes/rn_security_platform_encryption.htm



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message