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

Carsten Ziegeler commented on SLING-13195:
------------------------------------------

I think such an extension makes sense in general, however, if we are talking 
about fixing this problem in AEM then this solution will not work - mainly as 
bundle symbolic name + version is used as a key in a lot of places

> Implement CollisionHookService to allow same BSN/version combinations in 
> different regions
> ------------------------------------------------------------------------------------------
>
>                 Key: SLING-13195
>                 URL: https://issues.apache.org/jira/browse/SLING-13195
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: Feature Model API Regions Runtime Fragment 1.1.12
>
>
> By default same BSN/version combinations are not allowed to be used more than 
> once (compare with 
> https://docs.osgi.org/specification/osgi.core/7.0.0/framework.bundlehooks.html#framework.bundlehooks.collisionhook).
>  However if the framework property {{org.osgi.framework.bsnversion}} is set 
> to {{managed}} a hook is called which can decide if this should be allowed or 
> not for this case.
> It would be beneficial for the API regions extension to provide a hook to 
> allow such duplicates in case they belong to different regions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to