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(api-aco): ensure correct tenant and locale is used in ACO storage #3538

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

Pavel910
Copy link
Collaborator

Changes

This PR fixes an issue that can be encountered in multi-tenant systems, when switching tenants programmatically, and creating Pages via code. The issue is that the internal storage model is always assigned the original tenant/locale which was used in the original request, which bootstrapped the system. Subsequent changes of tenants or locales would not get propagated to the storage model, resulting in search records being stored in the wrong tenant.

How Has This Been Tested?

Manually, by using a custom plugin provided by a customer.

@Pavel910 Pavel910 added the bug label Sep 18, 2023
@Pavel910 Pavel910 added this to the 5.37.4 milestone Sep 18, 2023
@Pavel910 Pavel910 self-assigned this Sep 18, 2023
@Pavel910 Pavel910 merged commit 30d6f95 into dev Sep 18, 2023
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants