• Lonnie Wills 5
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hey

I am trying to deploy from our Sandbox to production and am finding some weird issues!

Tests that are passing in both testing and production (both through the Dev Console and Mavens Mate) are failing when I am deploying classes that have no relation to the ones failing!

This is one of the errors that I am getting, despite the fact I don't reference this field ANYWHERE in ANY classes:

System.EmailException: SendEmail failed. First exception on row 0; first error: INVALID_FIELD_FOR_INSERT_UPDATE, Task: bad field names on insert/update call: ActivityOriginType: [ActivityOriginType] 


Just wondered if anyone else has been encountering the same issues since the upgrade.

There are a couple of other tests that have failed, but this is due to error messages changing etc, but the above error I do not understand!