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/03 18:47:12 UTC
[jira] [Created] (SLING-5710) Injectable methods on
super-interfaces are not injected
Justin Edelson created SLING-5710:
-------------------------------------
Summary: 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)