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

MBS-13564: Correctly override primary on alias locale change #3398

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 30, 2024

  1. MBS-13564: Correctly override primary on alias locale change

    Attempting to change the locale of an alias marked as primary to one
    which already had a primary alias crashed with an ISE.
    
    I noticed the issue is that we were not clearing the previous primary
    value first for this case, since we were only looking for a changed
    primary_for_locale. In this case
    the locale changes, not the primary flag.
    
    This ensures primary is cleared upon either primary or locale changes
    if primary is being set or if it was already set and was not overriden
    by the row changes.
    reosarevok committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    b36b29a View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    8c32603 View commit details
    Browse the repository at this point in the history