[jira] [Commented] (SLING-12285) adding bind & unbind methods mapping in reference annotation

2024-04-10 Thread Gagan Malpani (Jira)


[ 
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)


[jira] [Commented] (SLING-12285) adding bind & unbind methods mapping in reference annotation

2024-04-10 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-12285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835704#comment-17835704
 ] 

Robert Munteanu commented on SLING-12285:
-

Thanks for the report [~malp...@adobe.com]. Is this an actual bug? How does 
this manifest (log entries, etc)?

> 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)