Problem/Motivation

When viewing the sitemap it is being cached for the first domain.

Steps to reproduce

Have more than 1 domain. Once you see the sitemap for it then the second domain will also be served that sitemap instead of its own.

Proposed resolution

Minor code change in the controller to add cache context by url.site just as domain module needs it.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

vflirt created an issue. See original summary.

vflirt’s picture

StatusFileSize
new640 bytes

Here is the patch.

tim-diels’s picture

Status: Active » Needs review

You need to set the status to needs review when providing a patch. Otherwise no one knows to review this by looking over all issues in the queue but only when opening the issue itself. Setting this to needs review.

joshua1234511’s picture

Version: 8.x-2.x-dev » 3.0.x-dev

Issue is replicable on Latest 3.0.x-dev

damienmckenna’s picture

Status: Needs review » Reviewed & tested by the community

Seems to help. Thank you.