You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2013/08/23 15:26:52 UTC

[jira] [Closed] (METAMODEL-23) Exception occurred while inserting record having birthdate in salesforce.

     [ https://issues.apache.org/jira/browse/METAMODEL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasper Sørensen closed METAMODEL-23.
------------------------------------

    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 occurred while inserting record having birthdate in salesforce. 
> --------------------------------------------------------------------------
>
>                 Key: METAMODEL-23
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-23
>             Project: Metamodel
>          Issue Type: Bug
>            Reporter: Balendra Singh
>            Assignee: Kasper Sørensen
>
> 1. Insert the record having birthdate to salesforce.
> 2. Exception occurred as shown below.
> java.lang.IllegalStateException: 1 out of 1 object(s) could not be inserted 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.flushInserts(SalesforceUpdateCallback.java:122) ~[MetaModel-salesforce-3.4.5-20130808.140629-4.jar:na]
>         at org.eobjects.metamodel.salesforce.SalesforceUpdateCallback.close(SalesforceUpdateCallback.java:209) ~[MetaModel-salesforce-3.4.5-20130808.140629-4.jar:na]
>         at org.eobjects.metamodel.salesforce.SalesforceDataContext.executeUpdate(SalesforceDataContext.java:361) ~[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