Skip to content

Restore RFC schemas, prober XML, and OT&E route#3120

Merged
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:fix-prober-contacts-and-ote-button
Jun 30, 2026
Merged

Restore RFC schemas, prober XML, and OT&E route#3120
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:fix-prober-contacts-and-ote-button

Conversation

@CydeWeys

@CydeWeys CydeWeys commented Jun 29, 2026

Copy link
Copy Markdown
Member

Restore to core/src/main/java/google/registry/xml/xsd/domain.xsd (RFC 5731) and rde-domain.xsd (RFC 5831) so all XSD schemas conform strictly to published EPP RFCs. This allows OteStats to cleanly unmarshal archived HistoryEntry records during OT&E status checks without throwing cvc-complex-type.2.4.a schema validation errors on historical contact elements.

Remove deprecated domain:contact elements from prober creation payload (prober/.../create.xml) to match current flow rules where contact associations are forbidden.

Remove trailing slash from ote-status route parameter in RegistrarDetailsComponent to prevent double-slash (/ote-status//) URL generation when checking OT&E status.

BUG= http://b/529391412


This change is Reviewable

@CydeWeys CydeWeys requested a review from gbrodman June 29, 2026 18:47
@CydeWeys CydeWeys force-pushed the fix-prober-contacts-and-ote-button branch from 4adfba6 to 5731265 Compare June 29, 2026 18:48

@gbrodman gbrodman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gbrodman reviewed 4 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on CydeWeys).

@CydeWeys CydeWeys force-pushed the fix-prober-contacts-and-ote-button branch from 5731265 to 8878cfc Compare June 29, 2026 20:15

@gbrodman gbrodman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gbrodman reviewed 3 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on CydeWeys).

@CydeWeys CydeWeys force-pushed the fix-prober-contacts-and-ote-button branch from 8878cfc to 067a2ac Compare June 30, 2026 15:15
In commit 17b851d (google#2979), <element name="contact"> and related types were incorrectly removed from core/src/main/java/google/registry/xml/xsd/domain.xsd and rde-domain.xsd. Because those XSD schemas are published standards (RFC 5731 and RFC 5831), altering them caused JAXB unmarshaling to reject historical database records (HistoryEntry) containing <domain:contact> elements during OT&E status checks.

Restore <element name="contact" minOccurs="0" maxOccurs="unbounded"/> to domain.xsd and rde-domain.xsd so all XSD schemas conform strictly to published EPP RFCs and historical contact elements unmarshal cleanly without throwing cvc-complex-type.2.4.a schema validation errors.

Remove deprecated <domain:contact> elements from prober creation payload (prober/.../create.xml) to match current flow rules where contact associations are forbidden.

Remove trailing slash from ote-status route parameter in RegistrarDetailsComponent to prevent double-slash (/ote-status//<id>) URL generation when checking OT&E status.

BUG= http://b/529391412
@CydeWeys CydeWeys force-pushed the fix-prober-contacts-and-ote-button branch from 067a2ac to 53a5270 Compare June 30, 2026 15:16
@CydeWeys CydeWeys enabled auto-merge June 30, 2026 15:23
@CydeWeys CydeWeys added this pull request to the merge queue Jun 30, 2026
Merged via the queue into google:master with commit d6f1f58 Jun 30, 2026
15 of 16 checks passed
@CydeWeys CydeWeys deleted the fix-prober-contacts-and-ote-button branch June 30, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants