Project

General

Profile

Actions

Bug #106776

open

PageTypeSuffix of RouteEnhancer

Added by Holger Drosdek 23 days ago. Updated 23 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2025-05-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
POST method, news based search, news based comments
Complexity:
Is Regression:
Sprint Focus:

Description

When I added a PageTypeSuffix in order to have a fine URL for the XML sitemap, I get into massive problems assumably with the POST method of forms based to the news.

  PageTypeSuffix:
    type: PageType
    default: '/'
    index: 'index'
    map:
      news_sitemap.xml: 1533906435

My site news based, that means, there is hardly other content than news. So I configured the search of indexed search to the news. And I configured the comment extensions (pw_comments) as well to it.
But after adding the PageTypeSuffix, no results are displayed by searching. Indexing of pages (respectively news, that are route enhanced) worked as I checked in the database tables of indexed_search. And searching by GET method worked as well.
Similar happens to the EXT pw_comments. Adding normal comments to pages works. But when I tried to comment a news, the POST transfer from the form to the Controller action failed without any error. During debugging I recognized, the variable $newComment in the createAction is NULL.

Maybe there are correlations to [[https://forge.typo3.org/issues/88836]] or [[https://forge.typo3.org/issues/87104]] and it has to do with special page types, that are used in this case, too?

Actions #1

Updated by Holger Drosdek 23 days ago

In addition, deleting default and index values does not help:

  PageTypeSuffix:
    type: PageType
#    default: '/'
#    index: 'index'
    map:
      news_sitemap.xml: 1533906435
Actions

Also available in: Atom PDF