[
https://issues.apache.org/jira/browse/METAMODEL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kasper Sørensen closed METAMODEL-22.
------------------------------------
Resolution: Invalid
Assignee: Kasper Sørensen (was: Henry Saputra)
Assumed that it was valid to pass in a String to a Date field, which it is not.
> Exception is being thrown while updating record having birthdate.
> -----------------------------------------------------------------
>
> Key: METAMODEL-22
> URL: https://issues.apache.org/jira/browse/METAMODEL-22
> Project: Metamodel
> Issue Type: Bug
> Reporter: Balendra Singh
> Assignee: Kasper Sørensen
>
> 1. Create a record in salesforce.
> 2. Update the same record from application by adding birthdate.
> 3. Exception occurred as shown below.
> java.lang.IllegalStateException: 1 out of 1 object(s) could not be updateed
> in Salesforce! The first error message was: 'Birthdate: value not of required
> type: 8-8-2014' (INVALID_TYPE_ON_FIELD_IN
> _RECORD). see error log for further details.
> at
> org.eobjects.metamodel.salesforce.SalesforceUpdateCallback.checkSaveResults(SalesforceUpdateCallback.java:172)
> ~[MetaModel-salesforce-3.4.5-20130808.140629-4.jar:na]
> at
> org.eobjects.metamodel.salesforce.SalesforceUpdateCallback.update(SalesforceUpdateCallback.java:201)
> ~[MetaModel-salesforce-3.4.5-20130808.140629-4.jar:na]
> at
> org.eobjects.metamodel.salesforce.SalesforceUpdateBuilder.execute(SalesforceUpdateBuilder.java:60)
> ~[MetaModel-salesforce-3.4.5-20130808.140629-4.jar:na]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira