developerforce / Force.com-JavaScript-REST-Toolkit

ForceTK - a minimal Force.com REST API for JavaScript apps
BSD 3-Clause "New" or "Revised" License
315 stars 175 forks source link

Passing correctly typed fields causes INVALID_FIELD error #33

Closed metadaddy closed 11 years ago

metadaddy commented 11 years ago

Setting, NumberOfEmployees to an integer value (rather than a string) when creating an Account results in an INVALID_FIELD error. Looks like changes to coerce string field values to correct type resulted in breakage when passing correct field type.