Here's a patch to fix the issue.
2013/7/22 Kasper Sørensen <[email protected]> > 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. >
