Project

General

Profile

Bug #86747

Updated by Chris Müller over 5 years ago

I configured the route of an extension's single page in my @config.yaml@ of the site management with the help of the PersistedPatternMapper: 

     routeEnhancers: 
       Person: 
         type: Extbase 
         limitToPages: [67] 
         extension: Person 
         plugin: Pi1 
         routes: 
         - { routePath: '/{name}', _controller: 'Person::show', _arguments: {'name': 'person'} } 
         aspects: 
           name: 
             type: PersistedPatternMapper 
             tableName: 'tx_person_domain_model_person' 
             routeFieldPattern: '^(?P<given_name>.+)-(?P<last_name>.+)$' '^(?P<given_name>.+)-(?P<last_name>\d+)$' 
             routeFieldResult: '{given_name}-{last_name}' 

 I am facing now two problems: 

 * In the generated URL for the single page the result (@{given_name}-{last_name}@) is not in lower case like the other parts of the slug (the result is e.g. "John-Doe" instead of "john-doe"). 
 * When using umlauts Navigating the slug is e.g. "Mäx-Müstermänn" instead of "maex-muestermaenn". single page from the list overview gives me a 404 error back. 

 *Hint:* In the given example the < and > chars are converted from Redmine to &amp;lt; and &amp;gt;.

Back