Dirk Rudolph created SLING-11258:
------------------------------------

             Summary: SitemapScheduler does not schedule execution if the 
searchPath is the sitemap root
                 Key: SLING-11258
                 URL: https://issues.apache.org/jira/browse/SLING-11258
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Sitemap 1.0.6
            Reporter: Dirk Rudolph


When configuring a SitemapScheduler's searchPath to point to a sitemap root the 
sitemap generation is not scheduled for that root but only it's nested roots.

This is mainly due to the 
[SitemapUtil#findSitemapRoots()|https://github.com/apache/sling-org-apache-sling-sitemap/blob/master/src/main/java/org/apache/sling/sitemap/SitemapUtil.java#L225-L234]
 filtering out the given searchPath. 

While this was done intentionally it is hard to understand for the user. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to