-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
1.7.1
-
None
-
False
-
-
False
-
-
Description of problem:
It's possible to add custom entries to the context menu of the entity page in Developer Hub via the entity.context.menu mount point from a dynamic plugin. However components using this mount point cannot access the catalog entity being viewed using the normal useEntity hook and encounter the following error when accessing the catalog entity page:
Error: useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead
Steps to Reproduce
There is a branch here which includes code to try and access the catalog entity object. When the plugin is configured, accessing any catalog entity page will result in the following: