Skip to content

Category system needs foreign keys to avoid label comparisons #982

@jjmata

Description

@jjmata

The reason we have problems like the one below is due to the current category feature missing this key aspect!

/cc @bittoby

P1 Badge Reuse existing category across legacy locale mismatches

This lookup now only searches Category.investment_contributions_name in family.locale, so families that already have an Investment Contributions category created under the old request-locale behavior (for example, existing English name while family.locale is French) will get a second category created on the next call. In that scenario, historical and new transfer transactions end up split across two category IDs again, so the duplication bug persists for migrated data unless this method first resolves legacy names (or migrates existing records) before creating.

Useful? React with 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in #956

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions