cisagov / manage.get.gov

A Django-based domain name registrar to communicate with an EPP registry
https://get.gov
Other
60 stars 18 forks source link

Django admin: Irrelevant data is not being cleared for domain information #1942

Open vickyszuchin opened 7 months ago

vickyszuchin commented 7 months ago

Issue description

When changing org_type, on save, reset any existing and no longer relevant data (example: when changing org_type from federal to something else, clean up federal agency if it exists).

Acceptance criteria

Additional context

note by "on save" this refers to the save and continue button at the bottom of each request page: Image

slack thread

Links to other issues

vickyszuchin commented 7 months ago

Updated information. Added slack thread and related ticket.

vickyszuchin commented 6 months ago

Accepted into the backlog. It is not urgent but Product suggests working this ticket with #1675 as a pair in the upcoming sprints (beyond sprint 43).

vickyszuchin commented 5 months ago

This ticket has been story pointed and meets DoR criteria. Moving it to "Ready".

abroddrick commented 1 month ago

I think reading this we should merge this one with #1675 and not keep both tickets. the other ticket is just missing the callout to check for any dangling data and that irrelevant data should be cleared on save.