Project

General

Profile

Actions

Bug #103798

closed

Falsely created redirects when updating slug of expired page

Added by Sebastian Swan 12 days ago. Updated 6 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Redirect Handling
Target version:
-
Start date:
2024-05-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Summary

When updating the slug of an expired page (endtime in the past) a redirect for "/" is created.

Steps to reproduce

  • Create a new page and set the "Expiration Date" (endtime) to something in the past.
  • Save the page
  • Update the Slug of the page and save
  • This leads to two redirects being created:
    • Valid: Redirect for the old slug
    • Invalid: Redirect for "/"

Use Case

In our use case we have several expired "Event" pages, that are copied and used to create new pages. When one of those copies gets activated, the falsely created redirect kicks in and the homepage redirects to the copied event page.


Files

redirects.png (208 KB) redirects.png Sebastian Swan, 2024-05-07 07:28

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #103436: Wrong creation of redirectsResolvedStefan Bürk2024-03-20

Actions
Actions #1

Updated by Sebastian Swan 12 days ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer 11 days ago

  • Related to Bug #103436: Wrong creation of redirects added
Actions #3

Updated by Georg Ringer 11 days ago

  • Related to Bug #103806: Renaming a page slug generates duplicate redirects added
Actions #4

Updated by Stefan Bürk 6 days ago

  • Related to deleted (Bug #103806: Renaming a page slug generates duplicate redirects)
Actions #5

Updated by Gerrit Code Review 6 days ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84229

Actions #6

Updated by Gerrit Code Review 6 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84229

Actions #7

Updated by Gerrit Code Review 6 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84229

Actions #8

Updated by Gerrit Code Review 6 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84229

Actions #9

Updated by Gerrit Code Review 6 days ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84207

Actions #10

Updated by Stefan Bürk 6 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF