We're updating the issue view to help you get more done. 

Allow usage of Pages in URL Suffix Builder

Description

Currently it's only possible to use Resources for the Suffix creation:

1 new SuffixBuilder().resource(myResource, currentPage.getContentResource());

As soon as you want to build a suffix for two page-resources, this fails as the resources are no descendents.

java.lang.IllegalArgumentException: the resource JcrNodeResource, type=/apps/foo/components/page/bar, superType=null, path=/content/foo/bar/ipsum/jcr:content is not a descendent of the base resource JcrNodeResource, type=/apps/foo/components/page/bar, superType=null, path=/content/foo/bar/jcr:content

Environment

None

Status

Assignee

Alexander Muthmann

Reporter

Alexander Muthmann

Labels

None

Components

Fix versions

Priority

Major