[
https://issues.apache.org/jira/browse/SLING-12285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835741#comment-17835741
]
Gagan Malpani commented on SLING-12285:
---
Hello [~rombert] ,
Currently i am working on one of the upgrade program of product based on AEM
6.4 which has sling-org-apache-sling-tenant version 1.0.0 & we are updating it
to AEM Version which has sling-org-apache-sling-tenant version 1.1.4.
We have faced issue during tenant creation.
On investigation , we found
[bindTenantSetup|https://github.com/apache/sling-org-apache-sling-tenant/blob/org.apache.sling.tenant-1.1.4/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java#L150]
is not getting called but it is working in 1.0.0 .
Major difference between 2 releases WRT tenantproviderimpl is we have migrated
from SCR annotations to OSGI annotations.
AFAIK bind & unbind should be explicitly mention in OSGI R6 annotation. Please
correct me if wrong.
After applying fix of PR , binding is happening.
> adding bind & unbind methods mapping in reference annotation
>
>
> Key: SLING-12285
> URL: https://issues.apache.org/jira/browse/SLING-12285
> Project: Sling
> Issue Type: Improvement
> Components: General
>Reporter: Gagan Malpani
>Priority: Major
>
> adding bind & unbind methods mapping in reference annotation for
> tenantproviderimpl
--
This message was sent by Atlassian Jira
(v8.20.10#820010)