registry
registry copied to clipboard
ForceDelete status not removed when invalid email address is replaced
- domain has force delete set due to invalid email address
- registrant of the domains goes to registrant portal and updates the email address/addresses of the invalid contacts
- expected results would here be the removal of FD status as the invalid email aadress has been replaced with a valid one - but instead we will have to wait until verify_email:check_all is run that happesn once a day
- looks like that the validation events table is not automatically cleared when the email address is updated - at least not with all contact types
- the lift force delte task is run once every hour
- the force delete statuses are removed when running verify_email:check_all task that happes once a day - this rechecks all the invalid doamins/contacts/emails
Unfortunately the fix did not work in production and crashed the system every time a big registrar updated any of their domains - probably because of technical contact. We will need different approach to remove forcedelete statuses once the invalid email address has been replaced.
some principles to consider:
- filter out domain names that the updated contact object is related to and that have ForceDelete statuses set
- no need to scan for any other contact objects or domain registrations that might have shared the same email address
- check if the update email address was the only issue resulting setting of the ForceDelete - if so then lift