Closed smallcar88 closed 3 years ago
I think the issue here is you can not extend the FeaturedCategoryListImpl
as this is in the internal package and not exposed. To extend CIF components you need the Sling Delegation Pattern. Also see the CIF customisation docs.
Thanks @mhaack! You are right, i cannot import internal model.
Expected Behaviour
com.adobe.cq.commerce.core.components.internal.models.v1.categorylist should be able to resolved
Actual Behaviour
com.adobe.cq.commerce.core.components.internal.models.v1.categorylist cannot be resolved in OSGi console
Reproduce Scenario (including but not limited to)
Steps to Reproduce
mvn clean install -PautoInstallAll
aem-core-wcm-components
to local and runmvn clean install -PautoInstallSinglePackage
mvn clean install -PautoInstallSinglePackage
in the project root directoryPlatform and Version
Versions defined in ./pom.xml AEM 6.5.9 Service Pack 9 CIF Add-on 2021.07.21 CIF Core Component 2.0.0 WCM Core Component 2.17.2
Sample Code that illustrates the problem
Logs taken while reproducing problem