Skip to content

Keyword overlap can cause duplicate records #516

Open
@vdhamer

Description

@vdhamer

If one photographer is a member of 2 clubs, both clubs can have keywords for that person.

Example for club A for photographer P:

                "keywords": [ "Landscape", "Travel" ]

While club B says about photographer P:

                "keywords": [ "Travel", "Minimal" ]

This will lead to an error because 2 PhotographerKeyword records may be created for the keyword Travel for photographer P.
Duplicates are supposed to get avoided. But due to incorrect transaction boundaries and no failed commits, this can go wrong.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingConcurrencySwift structured concurrency & Swift6 data race prevention

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions