Skip to content

CLDR-18615 Detect page from xpath if obsolete page name is used #4796

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

btangmu
Copy link
Member

@btangmu btangmu commented Jun 9, 2025

-Extend the existing usage of page=auto to handle obsolete/invalid page names

-On the front end, always include xpstrid in the page request, if available

-On the back end, do not reject the combination of page and xpstrid; instead use xpstrid as a fallback to determine the page

-New PageId.fromString is the same as PageId.forString, except it returns null instead of throwing ICUException; PageId.forString still has other callers; changing them seems risky and out of scope for this PR, except for WebContext.getPageId

-Fix some compiler warnings

-Comments

CLDR-18615

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

-Extend the existing usage of page=auto to handle obsolete/invalid page names

-On the front end, always include xpstrid in the page request, if available

-On the back end, do not reject the combination of page and xpstrid; instead use xpstrid as a fallback to determine the page

-New PageId.fromString is the same as PageId.forString, except it returns null instead of throwing ICUException; PageId.forString still has other callers; changing them seems risky and out of scope for this PR, except for WebContext.getPageId

-Fix some compiler warnings

-Comments
@btangmu btangmu self-assigned this Jun 9, 2025
@btangmu btangmu requested review from srl295 and macchiati June 9, 2025 20:52
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.

1 participant