Security.stripInaccessible() method is throwing "No access to entity" exception for protected custom settings.
Last updated 2020-12-16 ·Reference W-7860844 ·Reported By 6 users
Release In Progress - Spring '21
Summary
Security.stripInaccessible() method is throwing "No access to entity" exception for protected custom settings of a managed package.
Repro
1. Create a Managed Package with a Protected Custom Setting
2. Create an Apex test class (inside the package) which calls Security.stripInaccessible(...) on the customSetting.
3. Run the apex test class.
Workaround
N/A
Reported By (6)
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.