Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RealURL 2.x delivers pagetitles in default language instead of localized patch segments for L<>0 when not logged in in BE #186

Closed
bernhardberger opened this issue Jun 30, 2016 · 4 comments
Labels

Comments

@bernhardberger
Copy link

I just stumbled across an issue with realurl 2.x (latest stable or dev, doesn't matter) delivering wrong page titles on localized records when not logged in in the backend.

I use EXT:google_services to create XML sitemaps of our websites.

Internally it uses:
$url = $obj->getUriBuilder() ->setTargetPageUid($uid) ->build();

to build the frontend urls for the pages.

Expected output for /fr/sitemap.xml would be forexample:

If I take the page "search" for example which is localized in french with the title "rechercher" I would expect the following output:
http://domain.tld/fr/rechercher/
but it delivers
http://domain.tld/fr/search/

instead. As you see it recognizes the L parameter and mapps it to "fr" but it doesn't get me the localized segment anymore...

Only when not logged in in backend. Disabling cache and clearing the install tool cache don't change anything.

My TypoScript setup regarding language:
`
config {
sys_language_uid = 0
language = en
locale_all = en_GB
htmlTag_langKey = en
sys_language_overlay = hideNonTranslated
sys_language_mode = strict
linkVars = L
}

[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = fr
config.locale_all = fr_FR
config.htmlTag_langKey = fr
[global]
`

@dmitryd
Copy link
Owner

dmitryd commented Jun 30, 2016

Please, do not post local problems here. This place is for real bugs. See wiki about getting help in mailing lists.

@dmitryd dmitryd closed this as completed Jun 30, 2016
@bernhardberger
Copy link
Author

bernhardberger commented Jun 30, 2016

This isn't a local problem. This is reproducable across various 7.6 + realurl 2.x installations.

I just tried to support you with our local configurations so it may be easier to debug...

The URLs delivered by \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder are just balantly wrong.

@dmitryd
Copy link
Owner

dmitryd commented Jun 30, 2016

Getting help

@bernhardberger
Copy link
Author

what a joke.. sorry for reporting a bug!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants