Project

General

Profile

Actions

Bug #68764

closed

Page ids instead of page names in URLs after upgrade to 7.4

Added by Reinis Zumbergs almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-08-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

I have Typo3 7.3.1 with RealURL 1.13.3 (TER version).
I want root page to have just slash "/" in URL and the rest of pages have URLs based on their names. Fx. "/hello/". This works here.

If I upgrade to 7.4, then I have page uid in slashes "/1/" in URL.

If I downgrade, it's back to normal.

Actions #1

Updated by Georg Ringer almost 9 years ago

  • Status changed from New to Needs Feedback

the ter version is only set to be working until 7.1.99.

use https://github.com/helhum/realurl .

I doubt that this is a problem of the core.

Actions #2

Updated by Reinis Zumbergs almost 9 years ago

After reporting I also tried with helhum version. Same result.
RealURL (ter) + Typo3 7.3.1 = works
RealURL (ter) + Typo3 7.4.0 = fails
RealURL (helhum) + Typo3 7.3.1 = works
RealURL (helhum) + Typo3 7.4.0 = fails

Actions #3

Updated by Georg Ringer almost 9 years ago

And you changed the code of realurl according to Readme of the fork?

Actions #4

Updated by Georg Ringer almost 9 years ago

And you us $GLOBALS?

Actions #5

Updated by Reinis Zumbergs over 8 years ago

Do you mean in configuration?

I have the auto-configured file and it uses both 'userFunc' => 'Tx\\Realurl\\UriGeneratorAndResolver->main' and $GLOBALS.

Actions #6

Updated by Reinis Zumbergs over 8 years ago

Solved!

For me it was about the order of packages in the `typo3conf/PackageStates.php` file. When upgrading, every time 7.4 consistently moved `realurl` after my custom extension. As my custom extension has `$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['_DEFAULT'] = array(...);` in `ext_localconf.php`, the `realurl`s own rules didn't get loaded.

I made another upgrade with the dependency to `realurl` in my custom extension `ext_emconf.php` and the order is as needed.

Thanks to Philipp Rönsch and Stephan Großberndt.

Actions #7

Updated by Stephan Großberndt over 8 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF