Skip to content

[stable33] fix(viewer): skip duplicate handlers on init - #3458

Merged
skjnldsv merged 3 commits into
stable33from
backport/3457/stable33
Oct 22, 2026
Merged

skjnldsv merged 3 commits into
stable33from
backport/3457/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Backport of #3457

Warning, This backport's changes differ from the original and might be incomplete 鈿狅笍

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

The viewer initializes the service, which registers the built-in
handlers, and then replays the handlers queued before it loaded. That
replay did not check whether a handler was already registered, so
built-ins queued by other apps were registered twice and logged
"already registered" errors.

Skip handlers already in availableHandlers. Viewer.vue already does
this when it mounts; this covers the earlier synchronous init path.

Assisted-by: opencode:DeepSeek-V4.1-Flash-Free
Signed-off-by: Braux Martinez <martinezjb@hitss.com>
Signed-off-by: Braux Martinez <martinezjb@hitss.com>
@backportbot backportbot Bot added bug Something isn't working 3. to review Waiting for reviews labels Oct 21, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.11 milestone Oct 21, 2026
@github-actions github-actions Bot changed the title [stable33] [stable35] fix(viewer): skip duplicate handlers on init [stable33] fix(viewer): skip duplicate handlers on init Oct 21, 2026
Signed-off-by: Braux Martinez <martinezjb@hitss.com>
@bulungasdeveloper

Copy link
Copy Markdown

All checks on this PR are green, including Playwright. However, the
33 and up ruleset requires the status check playwright-summary, while
the stable33 / stable34 workflows emit playwright-test-summary.
That required check is never reported, so the PR stays blocked even with
an approval.

Could a maintainer align the ruleset with the check name emitted on these
branches, or backport the workflow rename from stable35? Thanks.

@bulungasdeveloper bulungasdeveloper left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All checks on this PR are green, including Playwright. However, the
33 and up ruleset requires the status check playwright-summary, while
the stable33 / stable34 workflows emit playwright-test-summary.
That required check is never reported, so the PR stays blocked even with
an approval.

Could a maintainer align the ruleset with the check name emitted on these
branches, or backport the workflow rename from stable35? Thanks.

@bulungasdeveloper
bulungasdeveloper marked this pull request as ready for review October 22, 2026 17:24
@bulungasdeveloper

Copy link
Copy Markdown

Re-running the workflow will not help here: stable33 / stable34 emit
playwright-test-summary, while the 33 and up ruleset requires
playwright-summary. The required check never runs on these branches.

Could a maintainer align the ruleset to playwright-test-summary for
stable33 / stable34, or backport the workflow rename from stable35?
Thanks.

@skjnldsv
skjnldsv merged commit 75199a0 into stable33 Oct 22, 2026
26 checks passed
@skjnldsv
skjnldsv deleted the backport/3457/stable33 branch October 22, 2026 18:07
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.

2 participants