You need to sign in to do that
Don't have an account?
rob3000
Need help to deploy trigger from sand to prod!
HI Community,
I want to update the Case_Before_Update trigger. Actually all I want to do is comment the two method calls in its body out and have it look like this:
trigger Case_Before_Update on Case (before update) { /** CaseTriggers.setAccOwnerCustFieldOnCase(Trigger.new); CaseTriggers.assignAccountManager(Trigger.new); */ }
When I try to deply this trigger I the following error messages:
API NameTypeLineColumnProblem
|
I don't understand what these problems have to do with my Case trigger? This is all about Campaigns etc which have nothing to do with Cases. I just want to comment out some things and not touch all the other classes.... Any advise appreciated!
When you deploy to Production, it runs all tests in the Organization, not just the ones for your change set. Many times, I've had to yell at clients to fix their test classes so that I could deploy a change set.
What is the purpose of these test classes; and is there any risk in just commenting them out?
Thanks
They are there to test other pieces of code that have been deployed to production.
And yes, commenting them out is a bad idea since it might bring your organization's code coverage below 75%, which is not allowed.