[jira] [Commented] (CAMEL-13638) camel-salesforce - Lookups to polymorphic relationship fields must include an attributes object with a type property

2019-06-18 Thread Colm O hEigeartaigh (JIRA)


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

Colm O hEigeartaigh commented on CAMEL-13638:
-

[~aldettinger] - I backported the fix to camel-2.x, as it was causing a test 
failure there as well.

> camel-salesforce - Lookups to polymorphic relationship fields must include an 
> attributes object with a type property
> 
>
> Key: CAMEL-13638
> URL: https://issues.apache.org/jira/browse/CAMEL-13638
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-salesforce
>Affects Versions: 2.24.0, 3.0.0-M2
>Reporter: Jeremy Ross
>Priority: Major
> Fix For: 2.24.1, 3.0.0.M4
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When referencing a related record that is a polymorphic lookup, the JSON must 
> include an {{attributes}} object with a {{type}} property indicating which 
> type of Object is being referenced.
> E.g.:
> {code:json}
> {
>   "Description": "Contact HR for further information",
>   "Status": "Completed",
>   "Who": {
> "attributes": {
>   "type": "Contact"
> },
> "External_Id_Field__c": "cfcec54d-5d77-4ffa-a2ec-7fa2ce0e9616"
>   },
>   "Subject": "Comment"
> }
> {code}
> This {{attributes}} object is optional for non-polymorphic lookups, so no 
> harm in including it in all lookups.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13638) camel-salesforce - Lookups to polymorphic relationship fields must include an attributes object with a type property

2019-06-14 Thread Alex Dettinger (JIRA)


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

Alex Dettinger commented on CAMEL-13638:


I fixed test expected with [this 
commit|https://github.com/apache/camel/commit/f3a6a9b1c07c20a418a018ad9c7b0fd1aba84496]
 on master only as I was not able to find the backport in 2.24.x.

> camel-salesforce - Lookups to polymorphic relationship fields must include an 
> attributes object with a type property
> 
>
> Key: CAMEL-13638
> URL: https://issues.apache.org/jira/browse/CAMEL-13638
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-salesforce
>Affects Versions: 2.24.0, 3.0.0-M2
>Reporter: Jeremy Ross
>Priority: Major
> Fix For: 2.24.1, 3.0.0.M4
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When referencing a related record that is a polymorphic lookup, the JSON must 
> include an {{attributes}} object with a {{type}} property indicating which 
> type of Object is being referenced.
> E.g.:
> {code:json}
> {
>   "Description": "Contact HR for further information",
>   "Status": "Completed",
>   "Who": {
> "attributes": {
>   "type": "Contact"
> },
> "External_Id_Field__c": "cfcec54d-5d77-4ffa-a2ec-7fa2ce0e9616"
>   },
>   "Subject": "Comment"
> }
> {code}
> This {{attributes}} object is optional for non-polymorphic lookups, so no 
> harm in including it in all lookups.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13638) camel-salesforce - Lookups to polymorphic relationship fields must include an attributes object with a type property

2019-06-13 Thread Zoran Regvart (JIRA)


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

Zoran Regvart commented on CAMEL-13638:
---

Cherrypicked to 2.x so it will be in next 2.24 patch release.

> camel-salesforce - Lookups to polymorphic relationship fields must include an 
> attributes object with a type property
> 
>
> Key: CAMEL-13638
> URL: https://issues.apache.org/jira/browse/CAMEL-13638
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-salesforce
>Affects Versions: 2.24.0, 3.0.0-M2
>Reporter: Jeremy Ross
>Priority: Major
> Fix For: 3.0.0-M3, 2.24.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When referencing a related record that is a polymorphic lookup, the JSON must 
> include an {{attributes}} object with a {{type}} property indicating which 
> type of Object is being referenced.
> E.g.:
> {code:json}
> {
>   "Description": "Contact HR for further information",
>   "Status": "Completed",
>   "Who": {
> "attributes": {
>   "type": "Contact"
> },
> "External_Id_Field__c": "cfcec54d-5d77-4ffa-a2ec-7fa2ce0e9616"
>   },
>   "Subject": "Comment"
> }
> {code}
> This {{attributes}} object is optional for non-polymorphic lookups, so no 
> harm in including it in all lookups.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13638) camel-salesforce - Lookups to polymorphic relationship fields must include an attributes object with a type property

2019-06-13 Thread Zoran Regvart (JIRA)


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

Zoran Regvart commented on CAMEL-13638:
---

Merged to 3.x from [PR#2974|https://github.com/apache/camel/pull/2974], thanks 
[~jeremyross].

> camel-salesforce - Lookups to polymorphic relationship fields must include an 
> attributes object with a type property
> 
>
> Key: CAMEL-13638
> URL: https://issues.apache.org/jira/browse/CAMEL-13638
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-salesforce
>Affects Versions: 2.24.0, 3.0.0-M2
>Reporter: Jeremy Ross
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When referencing a related record that is a polymorphic lookup, the JSON must 
> include an {{attributes}} object with a {{type}} property indicating which 
> type of Object is being referenced.
> E.g.:
> {code:json}
> {
>   "Description": "Contact HR for further information",
>   "Status": "Completed",
>   "Who": {
> "attributes": {
>   "type": "Contact"
> },
> "External_Id_Field__c": "cfcec54d-5d77-4ffa-a2ec-7fa2ce0e9616"
>   },
>   "Subject": "Comment"
> }
> {code}
> This {{attributes}} object is optional for non-polymorphic lookups, so no 
> harm in including it in all lookups.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)