-
Notifications
You must be signed in to change notification settings - Fork 34
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
FIX Do not update LeftAndMain link with Stage param #173
FIX Do not update LeftAndMain link with Stage param #173
Conversation
This is a bit gross as we're mixing knowledge about modules in a way we shouldn't. It would be much nicer to have a way for |
Since this extension is applied to RequestHandler I don't think we'll be able to remove it specifically on LeftAndMain according to this note on |
Any further suggestions @robbieaverill on this regarding @dhensby's comment and my reply? |
@lukereative yeah I've been thinking about this. I thought about maybe moving the extension point from RequestHandler to something higher in the chain, but then we risk breaking people's code that extends low level classes like this and expects versioned capability. I personally don't mind the coupling, particularly when there's no great alternative. @dhensby do you have any ideas? |
@chillu has asked this be merged as it's |
Can we get this merged up to |
@ScopeyNZ done |
Add a condition so we don't try to add Stage URL param to LeftAndMain links.
Fixes silverstripe/silverstripe-admin#607