[jira] [Closed] (SLING-12303) Global transformers are not sorted by service ranking

2024-04-28 Thread Carsten Ziegeler (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed SLING-12303.


> Global transformers are not sorted by service ranking
> -
>
> Key: SLING-12303
> URL: https://issues.apache.org/jira/browse/SLING-12303
> Project: Sling
>  Issue Type: Bug
>  Components: General
>Affects Versions: Rewriter 1.4.0
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Rewriter 1.4.2
>
>
> The service ranking of a transformer (factory) is used to determine its 
> position in the rewriter pipeline. However, the transformers are not ordered 
> according to their ranking which makes the order unpredictable.



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


[VOTE RESULT] Release Apache Sling Rewriter 1.4.2

2024-04-28 Thread Carsten Ziegeler

The vote passed with three binding +1 votes

Thanks
Carsten--
Carsten Ziegeler
Adobe
cziege...@apache.org


[jira] [Commented] (SLING-12197) cpconverter: Sling-Initial-Content directories created as nt:folder instead of sling:Folder

2024-04-28 Thread Niek Raaijmakers (Jira)


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

Niek Raaijmakers commented on SLING-12197:
--

[https://github.com/adobe/aemanalyser-maven-plugin/pull/220] [~sseifert]  fyi

> cpconverter: Sling-Initial-Content directories created as nt:folder instead 
> of sling:Folder
> ---
>
> Key: SLING-12197
> URL: https://issues.apache.org/jira/browse/SLING-12197
> Project: Sling
>  Issue Type: Bug
>  Components: Content-Package to Feature Model Converter
>Affects Versions: Content-Package to Feature Model Converter 1.3.4
>Reporter: Stefan Seifert
>Priority: Major
> Fix For: Content-Package to Feature Model Converter 1.3.8
>
> Attachments: io.wcm.handler.link-apps-1.10.2-cp2fm-converted.zip
>
>
> the cpconverter extracts Sling-Initial-Content from OSGi bundles and creates 
> FileVault packages with the transformed content.
> this works well, but there is one difference when the resulting content 
> package is installed compared when uploading the OSGi bundle with the 
> Sling-Initial-Content directly:
> * the JCR Content Loader by defaults creates a {{sling:Folder}} node type for 
> each directory found in the Sling-Initial-Content (see also 
> [docs|https://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html#initial-content-loading-1])
> * the cpconverter process creates no {{.content.xml}} file for the folders, 
> but only for the actual JSON files found in the process. as a result, the 
> folders are created as {{nt:folder}} when uploading the transformed package
> * this difference becomes relevant, when a JSON file in Sling-Initial-Content 
> defines a primary type of {{nt:unstructured}} - it is not allowed to created 
> such a node directly below a {{nt:folder}} node - but it is allowed to do so 
> below a {{sling:Folder}} node



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