Generating sitemap variants in 3.x does only generate sitemap types

Created on 16 July 2024, 4 months ago
Updated 13 September 2024, 2 months ago

Problem/Motivation

When a domain is added or when you press the "Generate domain's sitemap variants" only the sitemap types are generated instead of a sitemap variant. In previous versions of the module this functionality was part of simple sitemap module which did generate variants.

The types generated contain the entity_url generator and the domain_entity_url generator. These would result in duplicate entries. The entity_url is not needed when generated those types.

Steps to reproduce

Have a site using Domain simple sitemap and multiple domains.
Either create a new domain or use the Generate domain's sitemaps variants functionality.
Check your sitemaps, you can use the link on the domains sitemap page.
It will only generated a new sitemap type, not a variant.

Proposed resolution

Have sitemap variants generated just after the types are generated with the correct generators.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium kevinvb

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024