hiratake55 / RForcecom

RForcecom provides the connection to Force.com and Salesforce.com from R
http://cran.r-project.org/web/packages/RForcecom/index.html
Other
49 stars 25 forks source link

issue : when submitting bulk query , Error in UseMethod("xmlRoot") #33

Closed swapnilshrikhande closed 8 years ago

swapnilshrikhande commented 8 years ago

serverTimeStamp <- rforcecom.getServerTimestamp(session); query <- "SELECT Id, Name FROM Account LIMIT 10"; job_info <- rforcecom.createBulkJob(session, operation='query', object='Account') batch_query_info <- rforcecom.submitBulkQuery(session, jobId=job_info$id, query=query)

StevenMMortimer commented 8 years ago

The httr package made some significant changes in the latest version (v1.1.0), that causes this error. I've submitted a bugfix here: https://github.com/hiratake55/RForcecom/pull/34

swapnilshrikhande commented 8 years ago

@ReportMort Thanks Steve. It is working great. Tested #34 using

library(devtools)
install_github('ReportMort/RForcecom', ref='metadata-api');
nelsonauner commented 8 years ago

Now that ReportMort's fix has been merged into master (but not yet on CRAN), this also works and incorporates additional fixes:

library(devtools)
install_github('hiratake55/RForcecom')