[
https://issues.apache.org/jira/browse/SLING-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Edelson resolved SLING-3683.
-----------------------------------
Resolution: Fixed
In r1604914, I have broken the linkage between an Injector and an
InjectAnnotationProcessorFactory. They are now processed in separate loops.
This also introduces a new section to the Configuration Printer to output the
factories.
> Sling Models: ModelAdapterFactory mixes up annotationProcessor in
> injectFieldOrMethod method
> --------------------------------------------------------------------------------------------
>
> Key: SLING-3683
> URL: https://issues.apache.org/jira/browse/SLING-3683
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Reporter: Stefan Seifert
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Sling Models Implementation 1.0.6
>
> Attachments: 140620_SLING-3683_annotationProcessor.patch
>
>
> the method AdapterFactory.injectFieldOrMethod gets an annotationProcessor
> from the injectors if they implement the InjectAnnotationProcessorFactory.
> currently, if a injector does not implement this interface, the instance
> assigned to the annotationProcessor may be re-used from the previous injector
> which is not intended.
> patch attached.
> not tested, is there already a unit test where a test for this can should be
> added?
--
This message was sent by Atlassian JIRA
(v6.2#6252)