+ Start a Discussion
ricardcabreraricardcabrera 

Problem after delete a managed class

Today we deleted accidentally a class from a Managed Package in our Developer Org (Winter 12). Now we're trying to put it back and this error is shown:

 

Error: Class name is already in use or has been previously used

 

Saleforce didn't check if this class had dependences and deleted without any problem. Now can't we use the same name for a class?? Is there no way to undelete it??

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
ricardcabreraricardcabrera

Ok, we solved the issue. It's possible to undelete the class using the View Deleted Components Button in the Package Menu. It's a little bit hidden, but it works.

 

Thanks anyway

All Answers

ricardcabreraricardcabrera

Ok, we solved the issue. It's possible to undelete the class using the View Deleted Components Button in the Package Menu. It's a little bit hidden, but it works.

 

Thanks anyway

This was selected as the best answer
Matt FolgerMatt Folger
 User-added image