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

[TASK] Remove unsetting of routing attribute in middleware #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rafaelheid-it
Copy link

@rafaelheid-it rafaelheid-it commented Dec 4, 2021

@Lacr1ma I think it is not a good idea to unset already set attributes in the middleware. Later middlewares may depend on it, if the ExtbaseRouteResolver is not responsible.
Unsetting routing attribute may raise problems in other extensions that depend on it, e.g. tx_news, that depends on it for fetching the news ID in a Request Handler.

Is there any specific reason why the attribute is unset? We could not find any problems when we removed it in our case.

Unsetting routing attribute may raise problems in other extensions that
depend on it (e.g. tx_news)
@pulponair
Copy link

@Lacr1ma agree. This is a blocker for news. Would be nice if you could enable the issue Tracker :)

@pulponair
Copy link

Any news on this?

@mhuebe
Copy link

mhuebe commented Dec 7, 2023

I agree with @rafaelheid-it that the unsetting leads to other errors.

For example, GET parameters are no longer taken for links in a language switcher. All links generated with typolink.addQueryString = 1 or typolink.addQueryString = untrusted lose necessary GET parameters.

@etobi
Copy link

etobi commented May 10, 2024

Fix works for me in V12

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

Successfully merging this pull request may close these issues.

4 participants