sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Grover (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-7673) slingwriter configuration not printing when transformers are empty
Date Thu, 17 May 2018 07:17:00 GMT

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

Luke Grover commented on SLING-7673:
------------------------------------

[~rombert], I updated my description... sorry, the request didn't make sense after I re-read
it. The issue described on the Adobe Forum was for handling the user request... however, in
the solution there are four takeaways. Item #4 is the issue being addressed by this ticket.
[http://localhost:4502/system/console/status-slingrewriter] fails to return all of the configurations
as expected.

> 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
>            Priority: Minor
>          Time Spent: 10m
>  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
(v7.6.3#76005)

Mime
View raw message