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

OPENEUROPA-1794: Bug in the OE Multilingual uninstallation. #60

Merged
merged 3 commits into from
Apr 25, 2019

Conversation

upchuk
Copy link
Contributor

@upchuk upchuk commented Apr 25, 2019

Fixes a problem with uninstalling OE Multilingual. The admin interface language negotiation plugin needs to be removed.

First commit proves the bug. The second one fixes it.

$setter->setInterfaceSettings([
// By default, the URL based negotiation is the highest priority one.
LanguageNegotiationUrl::METHOD_ID => -19,
LanguageNegotiationSelected::METHOD_ID => 20,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't override the language negotiation settings with Drupal's default as the site might have changed it, we should instead load the current language negotiation settings and remove ours.

Copy link
Member

@nagyad nagyad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job

Copy link
Member

@ademarco ademarco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one.

@ademarco ademarco merged commit 67be54e into master Apr 25, 2019
@ademarco ademarco deleted the OPENEUROPA-1794 branch April 25, 2019 07:15
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.

3 participants