GithubHelp home page GithubHelp logo

ryanbrainard / richsobjects Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 6.0 235 KB

A higher-level, modular library for interacting with the Salesforce API in web applications.

License: MIT License

Java 100.00%

richsobjects's Issues

support upsert

Need to add support for upsert. Will fork and potentially send a "pull" request with an implementation.

Unparseable dates

java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2009-12-31"
com.github.ryanbrainard.richsobjects.ImmutableRichSObject$ImmutableRichField.asDate(ImmutableRichSObject.java:205)
com.github.ryanbrainard.richsobjects.ImmutableRichSObject$ImmutableRichField._asAny(ImmutableRichSObject.java:150)
com.github.ryanbrainard.richsobjects.ImmutableRichSObject$ImmutableRichField.asAnyWithNameRef(ImmutableRichSObject.java:131)

SOQL with LIMIT And OFFSET fails

select Id,Name from Customer_Address__c where Id >'' ORDER BY Id ASC LIMIT 1 OFFSET 249999

Fails. Looks like it's failing on the describe call regex that tries to extract the type from the query.

Type extraction from query is case sensitive

service.query("sElEcT iD fRoM aCcOuNt lImIt 1");

Running class com.github.ryanbrainard.richobjects.api.client.RichSObjectServiceWithSfdcRestApiJerseyClientIT with API provider: class com.github.ryanbrainard.richobjects.api.client.SfdcApiJerseyClient
        com.sun.jersey.api.client.UniformInterfaceException: GET http://na4.salesforce.com/services/data/v24.0/sobjects/sElEcT%20iD%20fRoM%20aCcOuNt%20lImIt%201/describe returned a response status of 404 Not Found
        at com.sun.jersey.api.client.WebResource.handle(WebResource.java:676)
        at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
        at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
        at com.github.ryanbrainard.richobjects.api.client.SfdcApiJerseyClient.describeSObject(SfdcApiJerseyClient.java:49)
        at com.github.ryanbrainard.richsobjects.RichSObjectsServiceImpl.describe(RichSObjectsServiceImpl.java:36)
        at com.github.ryanbrainard.richsobjects.RichSObjectsServiceImpl.query(RichSObjectsServiceImpl.java:114)
        at com.github.ryanbrainard.richsobjects.api.client.AbstractRichSObjectServiceIT.testQueryCaseSensitivity(AbstractRichSObjectServiceIT.java:71)

@anandbn

Who wrote this http://sleepy-chamber-9677.herokuapp.com/ ?

I can't figure out what is referred to in Step 4. My Heroku Applications does not exist in any context anywhere in the Eclipse 3.8 that I have. What is this person saying? I tried to add the Oauth credentials from command line code but the app has I big issue after it was deployed and run. Want to see it? https://login.salesforce.com/services/oauth2/authorize?response_type=code&redirect_uri=https%3A%2F%2Fsleepy-chamber-9677.herokuapp.com%2F_auth&state=https%3A%2F%2Fsleepy-chamber-9677.herokuapp.com%2Fsfdc%2Fcontacts&client_id=[3MVG9A2kN3Bn17hvVBMdt_e0rTG2fkJ7kffuNMRcankJrbEbE5xg5UZYgC9yr.3jMo9NQ4dWX62mpfdMAVOj1]

and

http://sleepy-chamber-9677.herokuapp.com/_auth

So all I'm trying to do is find the post of it here on github.
Thanks! Your name is in the readme is all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.