• Gerard Sexton
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I have a class that extends DataSource.Connection and it works well. When a certain type of exception occurs, I want to log that information to a custom object. Unit tests checking for the logged information pass but when executing the same exception condition it behaves and logs like it should except that no records are inserted into the custom object. The debug logs report that the inserts succeed and fire the triggers.

Can anyone confirm that the DataSource.Connection context rolls back any changes to the database?
I am getting the following error on my external objects after deploying them using the Force.com ANT Migration Tool.

__MISSING LABEL__ PropertyFile - val DataSourceDataTypeNotSupported not found in section ApexConnectorErrors

This error appears in the related list where the External Object is the related list. This only appears to happening on either Currency Fields and Date Fields.

If I delete the Currency and Date fields on the deployed external object, and recreate them declaritively the error goes away.
There appears to be an issue with the deployment using the ant migration tool and the metadata.

Can anyone help with this issue.