Orphan external objects not allowing to create a new external data source
API , Salesforce to Salesforce , Metadata , User Interface , Lightning
Last updated 2022-02-10 ·Reference W-7989892 ·Reported By 2 users
Summary
When there is an orphan external object whose related external data source has been deleted, customers are never able to create a new external data source due to the following error.
------
system.security.NoDataFoundException
-------
Repro
Lets say organization has an external object whose related external data source is empty or not specified. and no external data source is defined in the org.
0) Log into the sandbox/production org
1) Create an external Data source (use cross-org connect or odata)
notice, it fails with system.security.NoDataFoundException
Actual Result:
Received an error and cannot create a new external data source.
Expected Result:
Should create a new external data source without seeing the error.
Workaround
Currently there is no workaround.
Reported By (2)
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.