[
https://issues.apache.org/jira/browse/SLING-12956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023586#comment-18023586
]
Konrad Windszus commented on SLING-12956:
-----------------------------------------
Currently
https://github.com/apache/sling-org-apache-sling-feature/blob/master/src/main/java/org/apache/sling/feature/ArtifactId.java
doesn't expose a getter to return a filesystem safe filename, but just URLs.
[~cziegeler] Is that something we should add to the API instead of implementing
it in cp2fm?
> Models with same artifactIds (and different groupIds) lead to name clashes
> --------------------------------------------------------------------------
>
> Key: SLING-12956
> URL: https://issues.apache.org/jira/browse/SLING-12956
> Project: Sling
> Issue Type: Bug
> Components: Feature Model
> Affects Versions: Content-Package to Feature Model Converter 1.3.10
> Reporter: Konrad Windszus
> Priority: Major
>
> cp2fm persists models with a filename which is prone to name clashes as it
> persists the JSON just considering the artifact id + classifier (but
> completely disregarding the group id):
> https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/ffb2039dee744c9fe832cf045dff3664654ebbe6/src/main/java/org/apache/sling/feature/cpconverter/features/DefaultFeaturesManager.java#L472-L485
--
This message was sent by Atlassian Jira
(v8.20.10#820010)