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

Fixed in 6617862bc236d24c54aefa4b45519dd670741698 #261

Open
ufeldmann opened this issue Sep 25, 2024 · 2 comments
Open

Fixed in 6617862bc236d24c54aefa4b45519dd670741698 #261

ufeldmann opened this issue Sep 25, 2024 · 2 comments

Comments

@ufeldmann
Copy link

          Fixed in 6617862bc236d24c54aefa4b45519dd670741698

Originally posted by @aschempp in #258 (comment)

@ufeldmann
Copy link
Author

With this fix the language switch won't work anymore in a project with a custom reader module.

The $paramaters variable contains /yacht-triumph

The $fragments variable contains

array:1 [
  0 => "yacht-triumph"
]

Then the array_shift removes the first entry. So the $fragments array is empty.

@do-while
Copy link

do-while commented Sep 30, 2024

Ich habe hier das gleiche Problem:
In einem eigenen Modul, basierend auf dem News-Modul, funktioniert seit 3.7.8 die Umschaltung nicht mehr (3.7.7 funktioneirt noch).
Ich habe folgende Links:
DE: https://www.drago-automation.de/de/produkte/details/dmb96200.html
EN: https://www.drago-automation.de/en/products/details/dmb96200.html
Auf der jeweiligen Detailseite befindet sich das Readermodul, beide Seiten sind per ChangeLanguage verknüpft.

$parameters in Zeile 207 liefert
"/dmb96200"
Die $fragments

array:1 [▼
  0 => "dmb96200"
]

Ich denke, das läuft auf das gleiche Problem hinaus, wie oben geschildert.

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

No branches or pull requests

2 participants