I am experiencing an issue with a custom component that does not appear in the list of available components in the Community Builder. All of the required class controllers and Aura Bundles were deployed via change set from a development org into a full sandbox org. The custom component bundle references two other Lightning Component bundles as well so all 3 Aura bundles must be deployed together
A number of other custom Lightning components were also deployed from the developer org into the full sandbox in the same change set. All other custom components appear in the list of available components in the Community Builder. I have no visibility issue in the source org where the component was developed, only in the UAT org.
I can see the following error messages in the browser console when viewing the Community Builder:
aura_proddebug.js:24582 WARNING: $A.eventService.addHandler: Unknown component with globalId 'undefined'. Does this component exist?
(anonymous) @ aura_proddebug.js:24582
Logger.$notify$ @ aura_proddebug.js:4178
Logger.log @ aura_proddebug.js:4170
Logger.$warning$ @ aura_proddebug.js:4081
AuraInstance.$warning$ @ aura_proddebug.js:22514
AuraEventService.$addHandler$ @ aura_proddebug.js:17353
init @ Spa.js:72
init @ routerInitializer.js:23
Action.$runDeprecated$ @ aura_proddebug.js:10547
Component$getActionCaller @ aura_proddebug.js:7041
Aura.$Event$.$Event$.$executeHandlerIterator$ @ aura_proddebug.js:10173
Aura.$Event$.$Event$.$executeHandlers$ @ aura_proddebug.js:10147
(anonymous) @ aura_proddebug.js:10206
AuraInstance.$run$ @ aura_proddebug.js:22697
Aura.$Event$.$Event$.$fire$ @ aura_proddebug.js:10204
Component.$fire$ @ aura_proddebug.js:6452
Component @ aura_proddebug.js:5677
componentConstructor @ aura_proddebug.js:5329
AuraComponentService.$createComponentPriv$ @ aura_proddebug.js:15286
Component.$createComponentStack$ @ aura_proddebug.js:6720
Component.$setupAttributes$ @ aura_proddebug.js:6884
Component @ aura_proddebug.js:5663
componentConstructor @ aura_proddebug.js:5329
AuraComponentService.$createComponentPriv$ @ aura_proddebug.js:15286
Component.$setupSuper$ @ aura_proddebug.js:6777
Component @ aura_proddebug.js:5667
componentConstructor @ aura_proddebug.js:5329
AuraComponentService.$createComponentPriv$ @ aura_proddebug.js:15286
AuraClientService.$init$ @ aura_proddebug.js:12759
AuraInstance.$initPriv$ @ aura_proddebug.js:22332
(anonymous) @ aura_proddebug.js:22270
AuraInstance.$run$ @ aura_proddebug.js:22697
(anonymous) @ aura_proddebug.js:22269
aura_proddebug.js:24582 WARNING: $A.eventService.addHandler: Unknown component with globalId 'function () {
return this.$concreteComponentId$ || this.$globalId$
}'.
Does this component exist?
I have already made a number of attempts to resolve this issue including:
- Recompilation of all Custom Component related aura bundle files
- Redeployment of all Custom Component related aura bundle files and Apex controllers
- Browser cache refresh
- Verifying that (implements="forceCommunity:availableForAllPageTypes") has been included in all component files for the Custom Component.
- Recreating the Custom Component by copying the Aura Bundle code into a new set of bundles in the full sandbox. This also failed to display the Custom Component.
Has anyone else experienced this issue given the above conditions and what actions were taken to resolve this?
Let me know if more information is required.