Skip to content

Fix editor crash for widgets disabled in editor#2449

Merged
tf merged 1 commit into
codevise:masterfrom
tf:editor-disabled-scrolled-widgets
Jul 15, 2026
Merged

Fix editor crash for widgets disabled in editor#2449
tf merged 1 commit into
codevise:masterfrom
tf:editor-disabled-scrolled-widgets

Conversation

@tf

@tf tf commented Jul 15, 2026

Copy link
Copy Markdown
Member

Since packs are only loaded for editor-enabled widgets, the editor preview must not try to render widgets that are disabled in the editor. Otherwise their widget type is not registered and rendering fails, breaking the editor for entries using such a widget.

Exclude editor-disabled widgets from the preview so they no longer run inside the editor, matching the intent of disabling them there.

REDMINE-21330

Since packs are only loaded for editor-enabled widgets, the editor
preview must not try to render widgets that are disabled in the
editor. Otherwise their widget type is not registered and rendering
fails, breaking the editor for entries using such a widget.

Exclude editor-disabled widgets from the preview so they no longer
run inside the editor, matching the intent of disabling them there.

REDMINE-21330
@tf tf added this to the v17.2 milestone Jul 15, 2026
@tf
tf merged commit c803121 into codevise:master Jul 15, 2026
18 checks passed
@tf
tf deleted the editor-disabled-scrolled-widgets branch July 15, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant