Application error when I Copy a Block Link

Repro:

    Open the document: User Story Map

    Copy a Block Link

    See the Error:


Solution

Implemented and verified locally on November 17, 2026. The screenshots below show the local fix; they do not establish that it has been released.

Cause and fix

Copying a block link updates the selected block in the route. The page then checks whether that block exists in the content being displayed. When a saved draft was present, this check passed editor blocks, which store their ID as node.id, to findContentBlock, which expects published blocks with node.block.id. That mismatch caused the console error shown in the report: Cannot read properties of undefined (reading 'id').

The source-block check now uses hasRenderableBlock, which handles both published content and editor drafts and searches their nested children. Copying the link keeps the document open and highlights the selected block. Clipboard URL construction is unchanged.

Before and after

Both screenshots come from a local Electron reproduction using a disposable test account and a copy of the report's User Story Map. The same block, ylpM1JGk, has a saved draft edit. The [copy-link regression] text marks that edit.

Before: Restoring the original lookup and clicking Copy block link reproduces the application-error screen, even though the clipboard confirmation appears.

Before the fix: copying a block link from a saved draft triggers the undefined-id application error.

After: With the fix, the document remains visible, the selected block stays highlighted, and the copy confirmation appears. Reading the clipboard confirmed a versioned block link ending in #ylpM1JGk+.

After the fix: the draft remains open with its selected block highlighted and the Block Link Copied to Clipboard confirmation visible.

Verification

Regression coverage includes top-level and nested blocks in both formats, blocks added only to a draft, deleted blocks, and empty content. The original lookup failed the regression cases; the fix passes them.

Six affected-package typechecks passed. The UI and web suites plus the targeted desktop and editor suites passed 2,053 tests, with one web test skipped. One initial web-test timeout passed in isolation and on a full rerun with two workers. Formatting and whitespace checks also passed. These results cover local verification, not the full CI suite.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0
Linked document · Outgoing linkLinked documentApplication error when I Copy a Block LinkApplication error when I …
Citations 0Children & links 1

Loading child documents…

Connections show where other documents or comments link to this document.

Related documents

Loading connections…