function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
David Holland 6David Holland 6 

Winter 16 test classes failing!


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!
Lonnie Wills 5Lonnie Wills 5
We are trying to update several projects in the sandbox to production and getting the same error.
Kush KellaKush Kella
Are you guys still seeing this problem?