Skip to content

[6.x] Prevent reentrant legacy app resolution#19302

Merged
brandonkelly merged 2 commits into
6.xfrom
bugfix/19298-reentrant-legacy-app-resolution
Jul 26, 2026
Merged

[6.x] Prevent reentrant legacy app resolution#19302
brandonkelly merged 2 commits into
6.xfrom
bugfix/19298-reentrant-legacy-app-resolution

Conversation

@riasvdv

@riasvdv riasvdv commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

Prevents reentrant Craft singleton resolution while Yii compatibility events and legacy plugins are initialized by registering the constructed legacy app with Laravel before booting compatibility integrations.

Adds regression coverage ensuring plugin initialization resolves the same app instance and page head assets remain intact.

Related issues

@riasvdv
riasvdv requested a review from brandonkelly July 23, 2026 20:31
@riasvdv
riasvdv marked this pull request as ready for review July 23, 2026 20:31
@brandonkelly
brandonkelly merged commit fb7b5ab into 6.x Jul 26, 2026
22 checks passed
@brandonkelly
brandonkelly deleted the bugfix/19298-reentrant-legacy-app-resolution branch July 26, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants