Claim it first: comment on this issue before you start, and check the open pull requests for one that already points here. We merge the first approve-worthy PR (see CONTRIBUTING.md, point 3). This row comes from #19920: @bercedev has first pick on its rows, and @kaushlendra-pt-singh asked for this one there, so it is theirs if @bercedev passes.
Context
Welcome! This is one row of #19920, split out so that its fix closes its own ticket. You need a fork, Node and the dev server (npm run server-start); no Agent OS, Docker or AI tooling.
A headless sweep of every example page on 2026-10-20 found examples/calendar/weekview throwing during construction and rendering nothing. It still does on dev f5decee2c0. Open http://localhost:8080/examples/calendar/weekview/index.html and the console shows TypeError: Cannot read properties of null (reading 'setDate'). The page fails the same way at 13.2.0, so this predates 13.3.
The Problem
The stack runs from src/calendar/view/week/Component.mjs:837 (date.setDate(...)), up through updateHeader (defined at :958), to construct (:257), which calls updateHeader(true, ...).
The Architectural Reality
currentDate arrives through bind (:43) from the calendar's state provider.
- A bound config is set after construction, so code inside
construct still sees its default, null.
The Fix
The likely cause, which the fix confirms or corrects: construct builds the header before the bound currentDate exists. Let the header wait for the date, or skip building it while the date is null, for example by building it when currentDate arrives.
Acceptance Criteria
Out of Scope
- The other rows of #19920, which have their own tickets.
Related
#19920 (the sweep's seven rows; two fixed by #19923 and #19924).
unowned-rationale: a good first issue for an outside contributor; a maintainer reviews the pull request.
Live latest-open sweep: the latest open issues at the time of filing, plus an open-issue search for this page and its error: no equivalent. MC sweep: covered by #19920's. Own-assignment sweep: none overlapping.
Origin Session ID: a292a9c9-07fa-4eb6-8ab2-638be8374fa2
Claim it first: comment on this issue before you start, and check the open pull requests for one that already points here. We merge the first approve-worthy PR (see
CONTRIBUTING.md, point 3). This row comes from #19920: @bercedev has first pick on its rows, and @kaushlendra-pt-singh asked for this one there, so it is theirs if @bercedev passes.Context
Welcome! This is one row of #19920, split out so that its fix closes its own ticket. You need a fork, Node and the dev server (
npm run server-start); no Agent OS, Docker or AI tooling.A headless sweep of every example page on 2026-10-20 found
examples/calendar/weekviewthrowing during construction and rendering nothing. It still does ondevf5decee2c0. Openhttp://localhost:8080/examples/calendar/weekview/index.htmland the console showsTypeError: Cannot read properties of null (reading 'setDate'). The page fails the same way at13.2.0, so this predates 13.3.The Problem
The stack runs from
src/calendar/view/week/Component.mjs:837(date.setDate(...)), up throughupdateHeader(defined at:958), toconstruct(:257), which callsupdateHeader(true, ...).The Architectural Reality
currentDatearrives throughbind(:43) from the calendar's state provider.constructstill sees its default,null.The Fix
The likely cause, which the fix confirms or corrects:
constructbuilds the header before the boundcurrentDateexists. Let the header wait for the date, or skip building it while the date isnull, for example by building it whencurrentDatearrives.Acceptance Criteria
examples/calendar/weekviewloads with no page error and renders the week view.test/playwright/unit/fails before the fix and passes after it.Out of Scope
Related
#19920 (the sweep's seven rows; two fixed by #19923 and #19924).
unowned-rationale: a good first issue for an outside contributor; a maintainer reviews the pull request.
Live latest-open sweep: the latest open issues at the time of filing, plus an open-issue search for this page and its error: no equivalent. MC sweep: covered by #19920's. Own-assignment sweep: none overlapping.
Origin Session ID: a292a9c9-07fa-4eb6-8ab2-638be8374fa2