Bug #87912
closedXML sitemap with localised news records does not respect language
100%
Description
I am using the news aextension with localised records (e.g. English as default language and German as second language).
The different languages are available via
https://example.org/en/
https://example.org/de/
Now I defined an XML sitemap:
plugin.tx_seo { config { xmlSitemap { sitemaps { tx_news { provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider config { table = tx_news_domain_model_news sortField = uid lastModifiedField = tstamp additionalWhere = pid = {$site.plugin.tx_news.storagePageId} url { pageId = {$site.plugin.tx_news.singlePageId} fieldToParameterMap { uid = tx_news_pi1[news] } additionalGetParameters { tx_news_pi1.controller = News tx_news_pi1.action = detail } useCacheHash = 1 } } } } } } }
When I call the generated XML sitemap for English, I got the URLs:
- https://example.org/en/article/english-text/
- https://example.org/en/article/german-text/
And for German:
- https://example.org/de/article/german-text/
- https://example.org/de/article/german-text/
with different modification dates
Both are the same news item, but localised.
Updated by Soren Malling over 5 years ago
- Related to Bug #87841: Sitemap generation doesn't take request language into account added
Updated by Richard Haeser over 5 years ago
If I'm correct, this is a duplicate of #87841?
Updated by Richard Haeser over 5 years ago
- Status changed from New to Needs Feedback
Updated by Chris Müller over 5 years ago
Hmm, not really. I see the links twice with different last modification dates (one from English, one from German). Have a look:
https://www.jobrouter.com/de/?type=1533906435&sitemap=tx_news_press&cHash=dccf219c4947f96cea903ce93a5bfe6c
https://www.jobrouter.com/en/?type=1533906435&sitemap=tx_news_press&cHash=dccf219c4947f96cea903ce93a5bfe6c
Updated by Richard Haeser over 5 years ago
- Status changed from Needs Feedback to New
Updated by Richard Haeser over 5 years ago
- Status changed from New to Accepted
- Target version set to Candidate for patchlevel
Updated by Gerrit Code Review over 5 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60629
Updated by Richard Haeser over 5 years ago
- Target version changed from Candidate for patchlevel to next-patchlevel
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Richard Haeser over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fceffe9866b6531291fa94b34ffd4827302858dc.
Updated by Gerrit Code Review over 5 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Gerrit Code Review over 5 years ago
Patch set 4 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Gerrit Code Review over 5 years ago
Patch set 5 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60633
Updated by Richard Haeser over 5 years ago
- Status changed from Under Review to Resolved
Applied in changeset ecccdc49cd8b8fa600fdbb8a80782fd40c7378f2.
Updated by Gerrit Code Review over 5 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60634
Updated by Richard Haeser over 5 years ago
- Status changed from Under Review to Resolved
Updated by Gerrit Code Review over 5 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60635
Updated by Richard Haeser over 5 years ago
- Status changed from Under Review to Resolved
Sorry that this ticket number is wrongly used in other patches and is opening again every time.