Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.15.2
-
None
-
Unknown
Description
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