Project

General

Profile

Actions

Bug #88877

closed

Redirects not working

Added by Edward A. Gabdullin over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-08-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
CodingNight
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

We're working with TYPO3 10.0.0. We have a multilingual website.

Redirects are configured, in version 9.5.8 they worked, after updating to version 10.0.0 they stopped working.


Files

Screenshot_20190801_141408.png (30.6 KB) Screenshot_20190801_141408.png Jonas Eberle, 2019-08-01 14:14
Scr-080.jpg (92.6 KB) Scr-080.jpg Edward A. Gabdullin, 2019-08-01 14:36
Scr-081.jpg (111 KB) Scr-081.jpg Edward A. Gabdullin, 2019-08-01 14:36
Scr-082.jpg (99.5 KB) Scr-082.jpg Edward A. Gabdullin, 2019-08-01 14:36
Scr-083.jpg (42.8 KB) Scr-083.jpg Edward A. Gabdullin, 2019-08-01 14:36
Scr-084.jpg (110 KB) Scr-084.jpg Edward A. Gabdullin, 2019-08-05 09:30

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #88906: Redirects broken with invalid frontend user objectClosed2019-08-03

Actions
Related to TYPO3 Core - Bug #89297: Fatal error for regular redirectsClosed2019-09-28

Actions
Related to TYPO3 Core - Bug #89317: RedirectService instanciated without SiteFinderClosed2019-09-30

Actions
Actions #1

Updated by Jonas Eberle over 5 years ago

Hi, could you post your site config and the redirect you are trying to configure?

It is working for me.

Site config:

rootPageId: 1
base: 'https://t3-master.ddev.site/'
languages:
  -
    title: English
    enabled: true
    languageId: '0'
    base: /
    typo3Language: default
    locale: en_US.UTF-8
    iso-639-1: en
    navigationTitle: English
    hreflang: en-us
    direction: ltr
    flag: us

Updated by Edward A. Gabdullin over 5 years ago

My configuration:

rootPageId: 1
base: 'https://elarum.ru/'
baseVariants: {  }
languages:
  -
    title: Русский
    enabled: true
    languageId: '0'
    base: /
    typo3Language: ru
    locale: ru_RU.UTF-8
    iso-639-1: ru
    navigationTitle: Русский
    hreflang: ru-RU
    direction: ltr
    flag: ru
  -
    title: English
    enabled: true
    languageId: '1'
    base: 'https://elarum.com/'
    typo3Language: default
    locale: en_US.UTF-8
    iso-639-1: en
    navigationTitle: English
    hreflang: en-US
    direction: ltr
    fallbackType: strict
    fallbacks: ''
    flag: gb
  -
    title: Қазақ
    enabled: false
    languageId: '2'
    base: 'https://elarum.kz/'
    typo3Language: ru
    locale: kk_KZ.UTF-8
    iso-639-1: kk
    navigationTitle: Қазақ
    hreflang: kk-KZ
    direction: ''
    fallbackType: fallback
    fallbacks: '0'
    flag: kz
errorHandling:
  -
    errorCode: '404'
    errorHandler: Page
    errorContentSource: 't3://page?uid=85'
  -
    errorCode: '503'
    errorHandler: Page
    errorContentSource: 't3://page?uid=86'
routes:
  -
    route: sitemap.xml
    type: uri
    source: 't3://page?uid=1&type=1533906435'
routeEnhancers:
  PageTypeSuffix:
    type: PageType
    default: /
    suffix: /
    index: ''
    map:
      /: 0
Actions #3

Updated by Edward A. Gabdullin over 5 years ago

The redirect to files did not work in 9.5

Actions #4

Updated by Jonas Eberle over 5 years ago

I am trying in master (which is basically the same as v10 currently):

When redirecting to a file it works.

When redirecting to a page I get:

Call to undefined method stdClass::fetchGroupData()
in /var/www/html/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 897

1 or 2 languages does not matter.

So I can confirm that there is a problem, although I get a different error.

Actions #5

Updated by Susanne Moog over 5 years ago

  • Tags set to CodingNight
Actions #6

Updated by Jonas Eberle over 5 years ago

  • Related to Bug #88906: Redirects broken with invalid frontend user object added
Actions #7

Updated by Edward A. Gabdullin over 5 years ago

Applied patches from Bug #88906
I get the error again.
Redirect not working

Actions #8

Updated by Riccardo De Contardi about 5 years ago

  • Category set to Site Handling, Site Sets & Routing
Actions #9

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

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

Actions #10

Updated by Gerrit Code Review about 5 years ago

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

Actions #11

Updated by Edward A. Gabdullin about 5 years ago

Gerrit Code Review wrote:

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

Applied this patch
Page redirect works
File redirect not working

Actions #12

Updated by Oliver Hader about 5 years ago

  • Related to Bug #89297: Fatal error for regular redirects added
Actions #13

Updated by Gerrit Code Review about 5 years ago

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

Actions #14

Updated by Andreas Fernandez about 5 years ago

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

Updated by Andreas Kienast about 5 years ago

  • Related to Bug #89317: RedirectService instanciated without SiteFinder added
Actions #16

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF