Skip to content

[stable35] fix(viewer): register handlers not yet in the lookup table when opening a file - #3423

Merged
skjnldsv merged 3 commits into
stable35from
fix/registered-handlers-lookup-stable35
Oct 19, 2026
Merged

skjnldsv merged 3 commits into
stable35from
fix/registered-handlers-lookup-stable35

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Oct 6, 2026

Copy link
Copy Markdown
Member

Backport of #3418.

On this branch the end-to-end test is the Playwright version of the Cypress test, and the DOMContentLoaded listener had already dropped the Sidebar binding, so it only calls registerNewHandlers() now.

It also stops the duplicate "Could not register handler" errors from #3362, as queued handlers already registered are skipped.

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

@skjnldsv skjnldsv added bug Something isn't working 3. to review Waiting for reviews labels Oct 6, 2026
@skjnldsv skjnldsv self-assigned this Oct 6, 2026
@skjnldsv skjnldsv added bug Something isn't working 3. to review Waiting for reviews labels Oct 6, 2026
@skjnldsv

skjnldsv commented Oct 6, 2026

Copy link
Copy Markdown
Member Author

/compile

@skjnldsv

Copy link
Copy Markdown
Member Author

/compile rebase

silverkszlo and others added 2 commits October 19, 2026 20:13
…ng a file

On single-file public shares, the files app can open the file before
DOMContentLoaded, while the component's handler lookup table is still
empty. This shows "There is no plugin available to display this file
type". Register any missing handlers when a file is opened, as well as
on DOMContentLoaded.

On this branch the end-to-end test is the Playwright version of the
Cypress test.

(cherry picked from commit 0d33b35)

Signed-off-by: silver <s.szmajduch@posteo.de>
Assisted-by:ClaudeCode:claude-opus-5.5
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@skjnldsv

Copy link
Copy Markdown
Member Author

/compile rebase

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command
nextcloud-command force-pushed the fix/registered-handlers-lookup-stable35 branch from e6fe776 to ecc5e5a Compare October 19, 2026 20:14
@skjnldsv
skjnldsv merged commit 41262cf into stable35 Oct 19, 2026
12 checks passed
@skjnldsv
skjnldsv deleted the fix/registered-handlers-lookup-stable35 branch October 19, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants