Jeff Peterson created CAMEL-14703:
-------------------------------------

             Summary: 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
         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)

Reply via email to