Hi all

I just noticed that the query to setup vanity path configurations is like this:

> SELECT sling:vanityPath, sling:redirect, sling:redirectStatus
>   FROM sling:VanityPath
>   WHERE sling:vanityPath IS NOT NULL
>   ORDER BY sling:vanityOrder DESC

Which means that to enable a vanity path the respective node must have the 
sling:VanityPath mixin property set.

I think the mixin should be used to help configure the vanity path properties 
but it should not be a requirement to configure such paths. Thus I think the 
FROM part should actually read:

> FROM nt:base

Thus accepting any node provided the properties are set.

WDYT ?

Regards
Felix

Reply via email to