You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2016/05/09 16:07:12 UTC
[jira] [Resolved] (SLING-5710) Injectable methods on
super-interfaces are not injected
[ https://issues.apache.org/jira/browse/SLING-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-5710.
-----------------------------------
Resolution: Fixed
> Injectable methods on super-interfaces are not injected
> -------------------------------------------------------
>
> Key: SLING-5710
> URL: https://issues.apache.org/jira/browse/SLING-5710
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Sling Models Impl 1.2.6
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Sling Models Impl 1.2.8
>
>
> When an interface extends another interface, the injectable methods on the super interface are not injected correctly. This is because we use `Class.getSuperclass()` to get the parent classes which doesn't work if the model class is actually an interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)