You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Levente Santha (JIRA)" <ji...@apache.org> on 2016/05/31 10:31:12 UTC

[jira] [Created] (SLING-5753) Use.init() not invoked for Java Use object which is also a Sling Model

Levente Santha created SLING-5753:
-------------------------------------

             Summary: Use.init() not invoked for Java Use object which is also a Sling Model
                 Key: SLING-5753
                 URL: https://issues.apache.org/jira/browse/SLING-5753
             Project: Sling
          Issue Type: Bug
          Components: Scripting
            Reporter: Levente Santha
            Priority: Critical


In the situation where I start with a Java Use object and later decide to use some convenient features of SlingModels too I have to surprise to experience that as soon as a Java Use object gets the @Model annotation its init() method is not invoked any more.
I can see no good reason for this, so I created a patch to fix it.
Please let me know what you think.
Thank you.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)