You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by np...@apache.org on 2018/06/14 08:14:03 UTC

[sling-org-apache-sling-pipes] branch master updated: SLING-7704 add a warning log in case beforeHook is configured

This is an automated email from the ASF dual-hosted git repository.

npeltier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-pipes.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b9bccc  SLING-7704 add a warning log in case beforeHook is configured
5b9bccc is described below

commit 5b9bccc17f75b9a573d68b50a7d017ebae6395f2
Author: Nicolas Peltier <pe...@gmail.com>
AuthorDate: Thu Jun 14 10:13:55 2018 +0200

    SLING-7704 add a warning log in case beforeHook is configured
---
 src/main/java/org/apache/sling/pipes/internal/ReferencePipe.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/sling/pipes/internal/ReferencePipe.java b/src/main/java/org/apache/sling/pipes/internal/ReferencePipe.java
index 523af51..0c34395 100644
--- a/src/main/java/org/apache/sling/pipes/internal/ReferencePipe.java
+++ b/src/main/java/org/apache/sling/pipes/internal/ReferencePipe.java
@@ -79,6 +79,8 @@ public class ReferencePipe extends SuperPipe {
             //we only support raw references, as there are good chances
             //compute fails at that stage
             super.before();
+        } else {
+            log.warn("before hook configured for this pipe's reference (and descendants) will be ignored as we can't figure them out right now");
         }
     }
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
npeltier@apache.org.