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

Edit page displaying repeating relationships #322

Open
dleadbetter opened this issue Dec 3, 2024 · 2 comments
Open

Edit page displaying repeating relationships #322

dleadbetter opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dleadbetter
Copy link
Contributor

The /api/relationships endpoint looks to be returning the same relationship multiple times. Note: These records are not duplicated in the database.

In the screenshot below, only 2 relationships records exist in the database.

Screenshot 2024-12-03 at 11.56.50 AM.png

@dleadbetter dleadbetter added the bug Something isn't working label Dec 3, 2024
@dleadbetter dleadbetter self-assigned this Dec 13, 2024
@dleadbetter
Copy link
Contributor Author

@NickLaiacona - This appears to be happening because one of the related event records has duplicate end_date fuzzy date records. The fuzzy dates are stored as records in a separate table, but should only have one end_date record per event. When we query the related events for this document, we're joining the start/end fuzzy dates and the duplicates are causing the rows to be repeated.

As far as I can tell, this is the only record affected by this and I'm not sure how it happened. All of the end_date records were created on 11/10/24 at 20:07:51 (not sure if that date has any significance?). I've tried to reproduce the duplicate creation by modifying event records, merging event records, importing event records, but have not been successful.

I can certainly go into the database and remove the duplicates, but without any more information, I'm not sure I can determine what caused this.

@NickLaiacona
Copy link
Member

Hmm, that date doesn't ring a bell, happy to get together and look at the data to determine next steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants