[BUGFIX] Only show records from current language in XML Sitemap 29/60629/2
authorRichard Haeser <richard@maxserv.com>
Mon, 29 Apr 2019 20:51:30 +0000 (22:51 +0200)
committerRichard Haeser <richard@maxserv.com>
Tue, 30 Apr 2019 12:25:57 +0000 (14:25 +0200)
commitfceffe9866b6531291fa94b34ffd4827302858dc
treebacc2f4e4bba9b82e2c083c3c648df570e1253d4
parent9896157699a77de185bbc28b9e370c9fef16b629
[BUGFIX] Only show records from current language in XML Sitemap

When generating the XML sitemap for records, the language of the
records will be checked. Only records from the current language or
all languages are added to the XML sitemap.

Resolves: #87912
Resolves: #87841
Releases: master, 9.5
Change-Id: Ibc2bc847840ff7ae6d34aa0b0b40fbe163ce2b78
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60629
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Soren Malling <soren@meteko.dk>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Riny van Tiggelen <info@online-gamer.nl>
Reviewed-by: Soren Malling <soren@meteko.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
typo3/sysext/seo/Classes/XmlSitemap/RecordsXmlSitemapDataProvider.php
typo3/sysext/seo/Tests/Functional/Fixtures/pages-sitemap.xml
typo3/sysext/seo/Tests/Functional/Fixtures/sys_category.xml
typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php