Page Health scanner ignores UVE mode, language, persona, variant and Time Machine — always scans published page
@fmontes is already working on this.
Since Jun 16, 2026.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Problem Statement
The UVE Page Health a11y/GEO scanner always scans the published page, ignoring the current mode (edit/preview/live). Users need to scan drafts before publishing to catch compliance issues early — a primary documented benefit of the feature.
Only the page path (sanitizeURL) and host_id are sent to the scanner. The other page-resolving params — mode, language_id, persona, variantName, publishDate (Future Time Machine) — are dropped, so dotCMS re-resolves against defaults.
Impact: anyone scanning drafts, non-default languages/personas/variants, or future-dated pages. Front-end (UVE).
Steps to Reproduce
- Open a page in the UVE in Edit or Preview mode and make an unpublished change that introduces an a11y issue.
- Run the Page Health a11y (or GEO) scan from the page tools panel.
- Observe the scan reports against the published page, not the draft.
- Same gap applies when a non-default Language, Persona, Variant, or a Future Time Machine date is selected — none of those are reflected in what gets scanned.
Acceptance Criteria
- The scanned URL includes
modeso draft/preview pages are scanned in the correct state. - The scanned URL includes
language_id, persona, andvariantNamematching the editor selection. - The scanned URL includes
publishDateso Future Time Machine state is scanned. -
host_idcontinues to be sent for multisite (existing behavior, #36162). - Editor-fetch-only params (
clientHost,depth) are not leaked to the public scanner.
dotCMS Version
Latest from main branch
Severity
High - Major functionality broken
Links
- Slack thread (#product) discussion with Marc Boutillette
- Related: #36162 / #36163 (host_id multisite fix)
- NA Freshdesk
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.