Project60 / Project60/org.project60.banking

Account deduplication crashes with accounts that have no contact id

Open
#497 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
22
Forks
45
Avg merge
3d 15h
Merged PRs (30d)
7

Description

If you see a

Expected one Contact but found 25

error when using the account duplication, it probably means you have an account that is not linked to any contact.

We will make the query more robust, as such "orphaned" accounts might have to exist in some cases.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the account-duplication entry point and reproduce the "Expected one Contact but found 25" error with an account that has no contact id. Trace the query that looks up the contact and verify that deduplication completes without crashing when orphaned accounts are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.