Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Issue with Query Parsing #55

Open
StevenMMortimer opened this issue Feb 8, 2017 · 0 comments
Open

Issue with Query Parsing #55

StevenMMortimer opened this issue Feb 8, 2017 · 0 comments

Comments

@StevenMMortimer
Copy link
Contributor

rforcecom.query is generating an error when using the newer parser introduced in 97201d6 (#51). You can reproduce by installing from the following commit:

devtools::install_github('hiratake55/RForcecom', ref='2c1bd45715ca26c5fdb90f39e54a374916bd0675')

Run a simple query:

> session <- rforcecom.login(username = user, password = password,
+                            loginURL = url, apiVersion = apiVersion)
> query <- "SELECT Id, Account.Name FROM Opportunity"
> rforcecom.query(session, query)
Error: XML content does not seem to be XML: 'list("00661000005E3TsAAK")
list(Name = list("Express Logistics and Transport"))'

Not sure if this is related to package versions of httr, xml2, and/or purrr.

Session Info:

Session info -------------------------------------------------------------------
 setting  value                       
 version  R version 3.2.2 (2015-08-14)
 system   x86_64, mingw32             
 ui       RStudio (1.0.136)           
 language (EN)                        
 collate  English_United States.1252  
 tz       America/New_York            
 date     2017-02-08                  

Packages ----------------------------------------------------------------------
 package       * version     date       source                                                     
 assertthat   0.1         2013-12-06 CRAN (R 3.2.2)                       
 bitops       1.0-6       2013-08-17 CRAN (R 3.2.2)                       
 curl         2.2         2016-10-21 CRAN (R 3.2.5)                       
 DBI          0.5-1       2016-09-10 CRAN (R 3.2.5)                       
 devtools     1.12.0.9000 2016-11-04 local                                
 digest       0.6.10      2016-08-02 CRAN (R 3.2.5)                       
 dplyr        0.5.0       2016-06-24 CRAN (R 3.2.5)                       
 httr       * 1.2.1       2016-07-03 CRAN (R 3.2.5)                       
 magrittr     1.5         2014-11-22 CRAN (R 3.2.2)                       
 memoise      1.0.0       2016-01-29 CRAN (R 3.2.5)                       
 plyr         1.8.4       2016-06-08 CRAN (R 3.2.5)                       
 purrr        0.2.2       2016-06-18 CRAN (R 3.2.5)                       
 R6           2.2.0       2016-10-05 CRAN (R 3.2.5)                       
 Rcpp         0.12.7      2016-09-05 CRAN (R 3.2.5)                       
 RCurl        1.95-4.8    2016-03-01 CRAN (R 3.2.3)                       
 RForcecom  * 1.1         2017-02-08 Github (hiratake55/RForcecom@2c1bd45)
 tibble       1.2         2016-08-26 CRAN (R 3.2.5)                       
 withr        1.0.2       2016-06-20 CRAN (R 3.2.5)                       
 XML          3.98-1.5    2016-11-10 CRAN (R 3.2.5)                       
 xml2         1.1.1       2017-01-24 CRAN (R 3.2.5)               
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant