Problem/Motivation
When configuring several sitemaps locations in "CDN via Sitemap" plugin, only the last sitemap seems to be used.
In fact, every call to SitemapParser::parseRecursive resets previous calculation.
Steps to reproduce
In /admin/config/development/warmer/settings, fill in several sitemaps locations.
In /admin/config/development/warmer, check "CDN via Sitemap" and submit. The success message wioll show the number of urls un the last sitemap.
Proposed resolution
Persist calculated urls in SitemapWarmer by adding an object property.
Remaining tasks
User interface changes
none
API changes
none
Data model changes
none
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | warmer-3370438-1.patch | 1.11 KB | nollim |
Comments
Comment #2
nollim commentedComment #3
e0ipsoThis looks great @nollim. Any chance we can add a test for this?
Comment #4
e0ipsoI have not tested this manually, but it seems a simple enough change and I assume it works for @nollim.
Comment #5
e0ipsoComment #6
e0ipso