[BUGFIX] Records sitemap uses wrong data array 98/58598/3
authorSusanne Moog <susanne.moog@typo3.org>
Tue, 9 Oct 2018 10:12:29 +0000 (12:12 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 9 Oct 2018 12:02:38 +0000 (14:02 +0200)
commit70e31eea262573767749875a77aada6e000321a7
treeaca73485ad64f549acd0a809efa805d0391b02dd
parentfc31bd3b0f36d2171551461a1fa85dc0607c4cdd
[BUGFIX] Records sitemap uses wrong data array

The records sitemap has an additional level of nesting for
data from database but was trying to access database data
on the first level resulting in missing URL parameters in
generated URLs.

This array access has been fixed.

Resolves: #86602
Releases: master
Change-Id: I0e5e368f177ad2fc4358b8ef8927e220536fa59f
Reviewed-on: https://review.typo3.org/58598
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/seo/Classes/XmlSitemap/RecordsXmlSitemapDataProvider.php
typo3/sysext/seo/Tests/Functional/Fixtures/pages-sitemap.xml
typo3/sysext/seo/Tests/Functional/Fixtures/records.typoscript [new file with mode: 0644]
typo3/sysext/seo/Tests/Functional/Fixtures/sys_category.xml [new file with mode: 0644]
typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php [new file with mode: 0644]