From dev-return-88660-archive-asf-public=cust-asf.ponee.io@sling.apache.org Thu May 17 09:17:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CE65118077A for ; Thu, 17 May 2018 09:17:05 +0200 (CEST) Received: (qmail 97307 invoked by uid 500); 17 May 2018 07:17:04 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 97291 invoked by uid 99); 17 May 2018 07:17:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2018 07:17:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 866201802E5 for ; Thu, 17 May 2018 07:17:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id L_cO9Q5-h42a for ; Thu, 17 May 2018 07:17:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 05B795FB29 for ; Thu, 17 May 2018 07:17:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4F760E0016 for ; Thu, 17 May 2018 07:17:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0CF4021298 for ; Thu, 17 May 2018 07:17:00 +0000 (UTC) Date: Thu, 17 May 2018 07:17:00 +0000 (UTC) From: "Luke Grover (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-7673) slingwriter configuration not printing when transformers are empty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-7673?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1647= 8644#comment-16478644 ]=20 Luke Grover commented on SLING-7673: ------------------------------------ [~rombert], I updated my description... sorry, the request didn't make sens= e after I re-read it. The issue described on the Adobe Forum was for handli= ng the user request... however, in the solution there are four takeaways. I= tem #4 is the issue being addressed by this ticket. [http://localhost:4502/= system/console/status-slingrewriter]=C2=A0fails to return all of the config= urations 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:=09org.apache.sling.rewriter > Version:=091.2.1.R1777332 > Reporter: Luke Grover > Priority: Minor > Time Spent: 10m > Remaining Estimate: 0h > > When no transformer is specified the sling rewriter print configuartion r= esponse fails to complete normally. This prevents other configurations from= displaying. So you end up with something like > =C2=A0 > {code:java} > Configuration no-transformer-test > Name=C2=A0:=C2=A0no-transformer-test > Content=C2=A0Types=C2=A0:=C2=A0[text/html] > Order=C2=A0:=C2=A01 > Active=C2=A0:=C2=A0true > Valid=C2=A0:=C2=A0true > Process=C2=A0Error=C2=A0Response=C2=A0:=C2=A0true > Pipeline=C2=A0:=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0Generator=C2=A0:=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0htmlparser=C2=A0:=C2=A0{i= ncludeTags=3D[Ljava.lang.String;@53a5f224} > =C2=A0=C2=A0=C2=A0=C2=A0Transformers=C2=A0:=C2=A0 > {code} > vs expected > {code:java} > Configuration no-transformer-test > Name=C2=A0:=C2=A0no-transformer-test > Content=C2=A0Types=C2=A0:=C2=A0[text/html] > Order=C2=A0:=C2=A01 > Active=C2=A0:=C2=A0true > Valid=C2=A0:=C2=A0true > Process=C2=A0Error=C2=A0Response=C2=A0:=C2=A0true > Pipeline=C2=A0:=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0Generator=C2=A0:=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0htmlparser=C2=A0:=C2=A0{i= ncludeTags=3D[Ljava.lang.String;@53a5f224} > =C2=A0=C2=A0=C2=A0=C2=A0Transformers=C2=A0: > Serializer=C2=A0:=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0htmlwriter > Resource=C2=A0path:=C2=A0/apps/sample/config/rewriter/no-transformer-test > {code} > =C2=A0 > Looks like it fails here when writing out configurations:=C2=A0 > [https://github.com/apache/sling-org-apache-sling-rewriter/blob/a40b7ffe1= 8af122e1eeb09c1b32735d34a3d167d/src/main/java/org/apache/sling/rewriter/imp= l/ProcessorConfigurationImpl.java#L245] > More notes from the [AEM side on their forum|https://forums.adobe.com/mes= sage/10387734] if needed. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)