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

fix: multi site not working language switch #649

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

jometzner
Copy link
Collaborator

PR Type

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

Language switch component links to different URL and not multi site URL location that fits to the current page.

What Is the New Behavior?

Language switch component links to same URL location that denotes the current page.

Does this PR Introduce a Breaking Change?

[ ] Yes
[ ] No

Other Information

@jometzner jometzner added the bug Something isn't working label Apr 12, 2021
@jometzner jometzner requested a review from shauke April 12, 2021 18:07
@jometzner jometzner added this to the 0.30 milestone Apr 12, 2021
@jometzner
Copy link
Collaborator Author

The whole issue happens only when using multi site configuration based on path switch (not tld based).

.+\.de:
  - baseHref: /b2c
    lang: en_US
    channel: inSPIRED-inTRONICS-Site
  - baseHref: /b2b
    lang: en_US
    channel: inSPIRED-inTRONICS_Business-Site
    features: quoting,businessCustomerRegistration,advancedVariationHandling,quickorder,orderTemplates,punchout,wishlists
    theme: "blue|688dc3"

@jometzner jometzner force-pushed the fix/multi-site-language-switch branch from 56601c4 to ad441c2 Compare April 13, 2021 14:30
@shauke shauke merged commit 3c01d7d into develop Apr 14, 2021
@shauke shauke deleted the fix/multi-site-language-switch branch April 14, 2021 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants