CDN via Sitemap - Not managing several sitemaps

Created on 27 June 2023, over 1 year ago
Updated 29 June 2023, over 1 year ago

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

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France nollim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024