Project

General

Profile

Actions

Bug #86602

closed

Ext: seo sitemap for records broken

Added by Susanne Moog over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
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
            }
          }
        }
      }
    }
  }
}

  1. Add TS from above
  2. Call frontend sitemap with ?type=1533906435
  3. Go to the example sitemap
  4. Check links: In the resulting urls the "tx_example_detail[id]=<uid>" parameter is missing.

Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #86598: TypoScript for fieldToParameterMap does not work (wrong assignment Key => Value)Closed2018-10-08

Actions
Has duplicate TYPO3 Core - Bug #86716: RecordsXmlSitemapDataProvider not workingClosed2018-10-23

Actions
Actions

Also available in: Atom PDF