You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (Jira)" <ji...@apache.org> on 2021/01/19 20:19:01 UTC

[jira] [Closed] (SLING-7673) slingwriter configuration not printing when transformers are empty

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

Dan Klco closed SLING-7673.
---------------------------

> slingwriter configuration not printing when transformers are empty
> ------------------------------------------------------------------
>
>                 Key: SLING-7673
>                 URL: https://issues.apache.org/jira/browse/SLING-7673
>             Project: Sling
>          Issue Type: Bug
>         Environment: Running this as part of AEM 6.3 instance
> Symbolic Name:	org.apache.sling.rewriter
> Version:	1.2.1.R1777332
>            Reporter: Luke Grover
>            Assignee: Robert Munteanu
>            Priority: Minor
>             Fix For: Rewriter 1.3.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When no transformer is specified the sling rewriter print configuartion response fails to complete normally. This prevents other configurations from displaying. So you end up with something like
>  
> {code:java}
> Configuration no-transformer-test
> Name : no-transformer-test
> Content Types : [text/html]
> Order : 1
> Active : true
> Valid : true
> Process Error Response : true
> Pipeline : 
>     Generator : 
>         htmlparser : {includeTags=[Ljava.lang.String;@53a5f224}
>     Transformers : 
> {code}
> vs expected
> {code:java}
> Configuration no-transformer-test
> Name : no-transformer-test
> Content Types : [text/html]
> Order : 1
> Active : true
> Valid : true
> Process Error Response : true
> Pipeline : 
>     Generator : 
>         htmlparser : {includeTags=[Ljava.lang.String;@53a5f224}
>     Transformers :
>     Serializer : 
>         htmlwriter
> Resource path: /apps/sample/config/rewriter/no-transformer-test
> {code}
>  
> Looks like it fails here when writing out configurations: 
> [https://github.com/apache/sling-org-apache-sling-rewriter/blob/a40b7ffe18af122e1eeb09c1b32735d34a3d167d/src/main/java/org/apache/sling/rewriter/impl/ProcessorConfigurationImpl.java#L245]
> More notes from the [AEM side on their forum|https://forums.adobe.com/message/10387734] if needed.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)