Good morning. We have a base page component written using sightly, with a sling:resourceSuperType of "wcm/foundation/components/page". We then have another page component, let's just call it "page_component" that has a sling:resourceSuperType which is the base page component. When i create a page with the base page component, everything works correctly, however, when I create a page using the "page_component", I get the following error:
"Caused by: io.sightly.java.api.SightlyUseException: Required script resource could not be located: head.js"
This issue is tracked internally (GRANITE-6589 - "data-sly-use in parent component does not load script overlaid in inherited component"), we'll try to keep this thread updated when some fixes will be available. But we don't have a date defined yet for an update, meaning that it won't happen so soon.