assumed my assumption was right with
https://issues.apache.org/jira/browse/SLING-7693 and fixed it

Le mer. 30 mai 2018 à 11:41, Nicolas Peltier <npelt...@adobe.com.invalid> a
écrit :

> Am i right to assume it is wrong to try to write JCR paths with
> ResourceUtil [0], as even if at some point resource type parameter would be
> used for setting the node type, first designed thing is resource type,
> which can't always work.
>
> My specific not so seldom use case is creating an AEM path of cq:Page
> nodes, ending up with a cq:PageContent. cq:Page nodetype does not accept
> sling:resourceType property, hence am failing into using [0] for this.
>
> If my assumption is right, I'll either revert SLING-6998 change, either
> create a specific JcrPathPipe doing the same thing.
>
> Nicolas
>
> [0]
> https://github.com/apache/sling-org-apache-sling-pipes/blob/master/src/main/java/org/apache/sling/pipes/internal/PathPipe.java#L76
> 
>
>

Reply via email to