Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Sling Models Impl 1.3.0
-
None
Description
If a model class has an annotation like
@Model(adaptables = { Resource.class }, adapters = Component.class, resourceType = "sling/exp/interface") public class ComponentImpl { ... }
then calling exportModelForResource() does not work because the resource type is associated with the adapter type ComponentImpl rather than the type Component.