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

Emptying an address leave in people edit form leaves an orphaned address in database #310

Open
Yann-BUTSCHER-EIRL opened this issue Mar 30, 2023 · 0 comments
Labels
Bug Something isn't working as it should be
Projects

Comments

@Yann-BUTSCHER-EIRL
Copy link
Collaborator

Scenario

  • connect as admin
  • go to a person's profile
    • They must have an address
  • clic on the edit button
  • delete all postal address informations
    • line
    • lineTwo
    • postalCode
    • city
    • country
  • save the form

Expected behavior

The person should not have any address associated and the old address should be deleted from the database

Current behavior

The person does not have any address associated but the old address is not deleted from the database and all its fields are NULL

@Yann-BUTSCHER-EIRL Yann-BUTSCHER-EIRL added the Bug Something isn't working as it should be label Mar 30, 2023
@Yann-BUTSCHER-EIRL Yann-BUTSCHER-EIRL added this to To do in Development via automation Mar 30, 2023
@Yann-BUTSCHER-EIRL Yann-BUTSCHER-EIRL moved this from To do to In progress in Development Mar 30, 2023
@Yann-BUTSCHER-EIRL Yann-BUTSCHER-EIRL moved this from In progress to To do in Development Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should be
Projects
No open projects
Development
  
To do
Development

No branches or pull requests

1 participant