You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/05/05 09:01:00 UTC

[jira] [Resolved] (CAMEL-14703) Salesforce report consumer throws IllegalArgumentException

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

Claus Ibsen resolved CAMEL-14703.
---------------------------------
      Assignee: Claus Ibsen
    Resolution: Fixed

Thanks yeah lets ignore those field names

> Salesforce report consumer throws IllegalArgumentException
> ----------------------------------------------------------
>
>                 Key: CAMEL-14703
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14703
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 3.0.1
>            Reporter: Jeff Peterson
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: error_in_breakpoint.PNG, stacktrace.txt, workbench_report_results.PNG
>
>
> When synchronously running a report and returning the results, an {{IllegalArgumentException}} is thrown due to a dataCell  containing an {{escapedValue}} as a key.  In the {{SummaryValue.class}} in the \{{setAny}} method the name of the key is checked and throws an error if its other than {{value}}.
> I'm assuming instead of throwing an error this should bypass any key with name other than {{value}}.
> Attached is a screenshot of a breakpoint where the error is thrown, the report's key:value pair run through workbench, and the stacktrace.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)