You need to sign in to do that
Don't have an account?
Jayesh Babu A V
Will deprecated classes raise any security issues?
I submitted my managed package for a security review few days ago. After submitting, I found out that I don't have to use an Apex class in the package. So, I tried to delete that class but couldn't because it was part of a managed package. So, I annotated that class with @deprecated. 2 days ago, I got the result and CRUD/FLS Enforcement issue is raised on this class. Now, the problem is, I cannot edit this class as it throws this error: A class with name was deprecated for this package or this name is already in use, also I cannot delete the class. I went to Salesforce Partner Community and raised a ticket and got the permission to delete the managed classes. But, still I cannot delete the class(I don't know why). So, my question is, if I submit the package for security review again, will it raise the same issue again or ignore the issue as the class is now deprecated?
If you have marked it as @deprecated, then you can just remove it and delete from the package in the next version, which should resolve the issue.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_deprecated.htm
Thanks,
Vinay Kumar
https://www.infallibletechie.com/2015/02/insufficientaccessorreadonly.html
Thanks,