Skip to content

OrgRegistrantPhoneCheckerJob(single) skips newly created EE org contacts until they have registrant_domains association #2908

@mmeest

Description

@mmeest

Description
When an Estonian legal person contact is created, Actions::ContactCreate enqueues OrgRegistrantPhoneCheckerJob in maybe_validate_phone_number. However, the job’s execute_single_checker looks up the contact with .joins(:registrant_domains), so a newly created contact (not yet linked as a registrant to any domain) is not found and the job exits without updating phone disclosure. As a result, phone disclosure/WHOIS visibility may only start working after the contact later becomes a registrant and some subsequent contact update re-triggers the job (or a bulk run happens).

Expected
Phone disclose job should run on contact create/modify. This job should not require contact previous connection to any domain.

Actual
Phone disclose job runs on contact create/modify only if contact is already connected to domain.

Original issue: internetee/rest-whois#416

Phone number disclosure solution pr: #2818

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions