Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14703

Salesforce report consumer throws IllegalArgumentException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.3.0
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

        1. error_in_breakpoint.PNG
          13 kB
          Jeff Peterson
        2. stacktrace.txt
          11 kB
          Jeff Peterson
        3. workbench_report_results.PNG
          21 kB
          Jeff Peterson

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              jpeterson@ccihealth.org Jeff Peterson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: