metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen <i.am.kasper.soren...@gmail.com>
Subject Re: Bug report: SFDC updates throw exception when no records impacted
Date Tue, 23 Jul 2013 06:38:34 GMT
I did attach a regular file, but maybe that's not possible via this mailing
list? Do you want me to just copy the patch contents into the email content?


2013/7/22 Henry Saputra <henry.saputra@gmail.com>

> HI Kasper, is it just me or there was no attachment to the email response
> you sent?
>
>
> On Mon, Jul 22, 2013 at 3:10 AM, Kasper Sørensen <
> i.am.kasper.sorensen@gmail.com> wrote:
>
> > Here's a patch to fix the issue.
> >
> >
> > 2013/7/22 Kasper Sørensen <i.am.kasper.sorensen@gmail.com>
> >
> >> Since we don't have JIRA up and running yet, here's a report via email
> of
> >> a bug we just encountered at Human Inference.
> >>
> >> The Salesforce.com web service is giving back an error when you update a
> >> record (SObject) that does not exist. We do not handle this error in
> >> MetaModel. Since the Salesforce.com module should behave like any other
> >> module, it should not throw any exceptions if you try to update records
> >> that do not exist. To examplify, a SQL statement like this:
> >>
> >> UPDATE [table] SET foo = 'bar' WHERE baz = 1234;
> >>
> >> Would return without problems even though there are no records where baz
> >> = 1234. In the current Salesforce.com module it throws back an
> exception.
> >>
> >> We'll happily provide a patch to fix this asap and hope it can be added
> >> to our initial Apache release.
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message