Skip to content

[FRONT] fix(db): correct contacts table name typo#491

Merged
jb-delafosse merged 1 commit intomainfrom
fix/contacts-table-name-typo
Feb 15, 2026
Merged

[FRONT] fix(db): correct contacts table name typo#491
jb-delafosse merged 1 commit intomainfrom
fix/contacts-table-name-typo

Conversation

@jb-delafosse
Copy link
Collaborator

Summary

Fix typo in DataTable enum: communties_contactscommunities_contacts

This typo was introduced in commit d117231 (May 2025) when the Contacts enum was first added. The frontend has been querying a non-existent table, causing HTTP 500 errors on /interpeller/[siren]/step2.

Root Cause

  • Backend creates table: communities_contacts
  • Frontend queries table: communties_contacts (missing "i")

Test Plan

  • Verify /interpeller/[siren]/step2 no longer returns HTTP 500
  • Verify contacts are displayed correctly on the interpellate page

@github-actions
Copy link
Contributor

:octocat: Preview is deploying...

Please wait while the preview is deploying on Clever Cloud...

ℹ️ Name 🔗 Infos & links
🌱 Deploying commit df1e481
👁️ Preview Generating preview app...

Fix typo in DataTable enum: 'communties_contacts' -> 'communities_contacts'

This typo was introduced in commit d117231 and caused queries to the
contacts table to fail with 'relation does not exist' error, resulting
in HTTP 500 on /interpeller/[siren]/step2 route.

no_jira
@jb-delafosse jb-delafosse force-pushed the fix/contacts-table-name-typo branch from df1e481 to 4c1fe81 Compare February 15, 2026 21:30
@jb-delafosse jb-delafosse merged commit 7b213f2 into main Feb 15, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant