Project

General

Profile

Actions

Bug #89450

closed

Slug of page of type "Link to external URL" should be ignored

Added by Arne-Kolja Bachstein about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Start date:
2019-10-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
slugs, url, external
Complexity:
Is Regression:
Sprint Focus:

Description

Scenario:

  • Page "My Page" shows a detail view of a single record, e.g. "My News".
  • Slug is generated as "/my-page/my-news".
  • Editor adds a page of type "Link to external URL" and wrongly enters "/my-page/my-news" as its slug (he doesn't know better :) ).

Impact:

The editor achieves to run into a duplicate slug which causes a 404 or redirect loop.

The scenario is one that could happen in other constellations too, sure. But in this constellation it does not make sense to even consider the page's slug, as the page's link surrogate is the external URL anyway. The slug of that page type could be ignored or even hidden/nulled.

By not taking a "Link to external URL"'s slug into consideration the error could be prevented at at least one place.

Actions

Also available in: Atom PDF