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

WHOIS: domain data is not updated on pendig status removal #757

Closed
vohmar opened this issue Mar 6, 2018 · 5 comments
Closed

WHOIS: domain data is not updated on pendig status removal #757

vohmar opened this issue Mar 6, 2018 · 5 comments
Assignees
Labels

Comments

@vohmar
Copy link
Contributor

vohmar commented Mar 6, 2018

When pending status (pendingUpdate, pendingDeleteConfirmation) is removed from domain whois update is not triggered and domain data in whois is not updated

might apply to other status changes as well.

@vohmar vohmar added the bug label Mar 6, 2018
@maciej-szlosarczyk maciej-szlosarczyk self-assigned this Jun 7, 2018
@maciej-szlosarczyk
Copy link
Contributor

Possible to reproduce this issue only for pendingUpdate, PendingDelete does update the Whois Record.

@maciej-szlosarczyk
Copy link
Contributor

During the investigation of this issue I discovered the following:

DomainUpdateConfirmJob and clean_expired_pendings cron job share the same behaviour. When pending statuses are removed (i.e pendingDeleteConfirmation), we are not executing callbacks (such as updating whois records) or updating the timestamps on the domain records, but we're still retaining a Papertrail log of the changes in domain object.

Is that the expected behaviour, @vohmar?

@vohmar
Copy link
Contributor Author

vohmar commented Jun 26, 2018

@maciej-szlosarczyk in general this seems to be the cause of the problem - updating domain registrant by requiring confirmation has special status related - updatePending. Setting this status calls for whois update and results in status being displayed publicly in whois. So endind this update process either by expiry, denial or acceptance by the current registrant must call for whois data update to remove the status and update other data if necessary.

@maciej-szlosarczyk
Copy link
Contributor

@vohmar I made the required changes. Aside from the buggy scenario with pendingUpdate, please also test the clean_expired_pendings Domain cronjob to ensure that there are no unwanted side-effects there.

@vohmar
Copy link
Contributor Author

vohmar commented Jun 27, 2018

in production

@vohmar vohmar closed this as completed Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants