sfswitch icon indicating copy to clipboard operation
sfswitch copied to clipboard

Unexpected token '(' when deploying trigger changes

Open davidmreed opened this issue 7 years ago • 2 comments

I'm using Salesforce Switch with a Developer Pro sandbox (Unlimited Edition). When setting all triggers to Disabled and performing the deploy, I receive the following error message:

There was an error deploying your components: Component Errors: - Unexpected token '('. - Unexpected token '('. - Unexpected token '('. - Unexpected token '('. - Unexpected token '('. - Unexpected token '('.

The error repeats on an attempt to roll back triggers, although ultimately no changes are made. The error also repeats across SFSwitch sessions.

I'm successfully able to deploy and roll back changes to all other metadata types on this org with SFSwitch.

davidmreed avatar May 22 '18 15:05 davidmreed

After some experimentation, I was able to isolate the issue to attempting to perform a deploy that altered the state of managed package triggers (by naively selecting "Disable All").

davidmreed avatar May 22 '18 15:05 davidmreed

Same issue experienced, but when trying to disable a single trigger on a managed package.

mikefleming-kaptio-com avatar Oct 06 '21 16:10 mikefleming-kaptio-com