Adding more details to the error message that is displayed when a component can not be deleted
Last updated 2022-02-10 ·Reference W-3247755 ·Reported By 1 users
Summary
When a user tries to delete a bundle that is referenced by another bundle, we simply show the message as below
DEPENDENCY_EXISTS
Cannot complete this operation. This lightning component bundle is referenced elsewhere in salesforce.com. Remove the usage and try again. : Lightning Component Definition This lightning component bundle is referenced elsewhere in salesforce.com. Remove the usage and try again. : Lightning Component Definition This lightning component bundle is referenced elsewhere in salesforce.com. Remove the usage and try again. : Lightning Component Definition
We need to show additional details which bundle it is referencing , providing the details of the component at the end of the error message
This lightning component bundle is referenced elsewhere in salesforce.com. Remove the usage and try again. : Lightning Component Bundle "pchild" - COMPONENT
Repro
N/A
Workaround
N/A
Reported By (1)
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.