Modifying a global class implementing public interfaces on a patch org throws error: Managed type that is released can't implement new interfaces
Last updated 2022-02-10 ·Reference W-4049512 ·Reported By 48 users
Summary
Editing a global apex class which implements public interfaces on a patch org fails with a compile error: "Managed type that is released can't implement new interfaces".
Repro
1. Register a namespace prefix.
2. Create a public interface and a global class implementing the interface.
------
public interface MyInterface {
}
global class MyClass implements MyInterface {
}
------
3. Create a managed package, include them, and upload it as "Managed Released".
4. Create a patch org. (Or enable the Pach Dev Org permission to that the current org can pretend a patch org.)
On a patch org:
5. Edit MyClass. And you'll see the following compile error.
Error: Compile Error: W4047618NS.MyClass: Managed type that is released can't implement new interfaces at line 1 column 14
Workaround
None at this time
Reported By (48)





















Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.