Actions
Bug #86602
closedExt: seo sitemap for records broken
Start date:
2018-10-09
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The sitemap for records does not use the fieldToParameterMap fields data to generate links.
Steps to reproduce:
TypoScript example:
plugin.tx_seo {
config {
xmlSitemap {
sitemaps {
example {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = tx_example_domain_model_records
sortField = sorting
lastModifiedField = tstamp
pid = 10
url {
pageId = 123
fieldToParameterMap {
uid = tx_example_detail[id]
}
useCacheHash = 1
}
}
}
}
}
}
}
- Add TS from above
- Call frontend sitemap with ?type=1533906435
- Go to the example sitemap
- Check links: In the resulting urls the "tx_example_detail[id]=<uid>" parameter is missing.
Actions