[SalesForce] Cannot disable locker service for recently created Sandbox – Summer 16′

quick question – maybe somebody from SFDC team will be able to help me quicker than SFDC Support.

I've recently moved lightning components into newly refreshed Sandboxes, and I don't have an option there to disable "Locker Service" update. It used to be available under Critical Updates, but no longer is visible there.

As I can judge from Developer console log – the locker service is active.

I've already opened cases for two orgs where I see this problem: #14066524, #14066488

I'm not sure what's the reason – is it a new policy or just a bug? I know Lightning need some time to get more matured and stable, but these things that I observe recently are just really frustrating.

Best Answer

It's policy. Existing orgs get the option to disable it grandfathered in for one more release. New ones require opening a case. It may be more difficult to disable after Winter '17, so don't treat it as a permanent workaround.

As noted here

Availability

LockerService will be made available starting Summer ‘16  in the following manner:

  • If the org is a brand-new Summer ‘16 org, or if the org has no Lightning components, the LockerService will be enabled automatically.
  • If the org has at least one Lightning component, the LockerService will be made available as a Critical Update and the Admin will decide.

Important: LockerService will be auto-enabled for all orgs when Winter ‘17 is released in the October timeframe.

Also from the Release Notes:

If you don't see this critical update in your org, LockerService has been automatically enabled and can’t be disabled. Automatic enablement occurs within 24 hours after the release.

You can disable LockerService in a Developer Edition org created after the Summer ’16 release. We recommend that you test LockerService in a Developer Edition org to verify correct behavior of your components before enabling it in your production org.

Related Topic