Project

General

Profile

Actions

Bug #89916

closed

Shortcut to a disabled page with redirect fails

Added by Riny van Tiggelen over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-12-11
Due date:
% Done:

0%

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

Description

When disabling a page and setting a redirect for that old url to a new/other page, the redirect works.
When setting a page shortcut to the old url, this error shows up:

Page not found: Reason: ID was not an accessible page

Which is obvious because the shortcut functionality checks the availability of the target page.
But maybe it's wanted/expected behaviour to get redirected if there is a redirect for the page available.

To reproduce:
- Create old-page and set hidden
- Create new-page and set visible
- Create redirect from /old-page to /new-page => this works
- Create shortcut to old-page -> shortcut fails

Actions #1

Updated by Benni Mack about 4 years ago

  • Status changed from New to Closed

Hey Riny.

We'll the "old-page" is hidden, when someone is pointing to the old-page page ID (which TYPO3 does) then this won't work obviously. A shortcut is doing an internal resolution and not an external HTTP redirect.

I don't see this as a bug, but this is expected behavior.

I'm closing this issue, but leave it open for discussion, so you can elaborate if you feel that this is still an issue for you.

Actions

Also available in: Atom PDF