Skip to content

Fix GroupProvider for Sulu 3.0.7#94

Merged
alexander-schranz merged 2 commits into
sulu:3.0from
Prokyonn:enhancement/group-provider
May 20, 2026
Merged

Fix GroupProvider for Sulu 3.0.7#94
alexander-schranz merged 2 commits into
sulu:3.0from
Prokyonn:enhancement/group-provider

Conversation

@Prokyonn

@Prokyonn Prokyonn commented May 20, 2026

Copy link
Copy Markdown
Member
Q A
Bug fix? yes
New feature? no
BC breaks? yes (raises minimum sulu/sulu version)
Deprecations? no
Fixed tickets -
Related issues/PRs sulu/sulu#8836
License MIT

What's in this PR?

Adopts the new GroupProviderInterface::getGroups(string $key) signature shipped by sulu/sulu 3.0.7 and bumps the sulu/sulu requirement to ^3.0.7.

Why?

Without this change, AutomationAdmin::configureArticleView() calls getGroups() with no argument and fatals with a TypeError against sulu/sulu 3.0.7+. The call now passes ArticleInterface::TEMPLATE_TYPE to scope the lookup to article template groups.

BC Breaks/Deprecations

Minimum sulu/sulu version raised from ^3.0 to ^3.0.7. Projects on 3.0.0–3.0.6 cannot install this version of the bundle and must upgrade sulu/sulu first.

Comment thread composer.json Outdated
"php-task/php-task": "^3.0.1",
"php-task/task-bundle": "^4.0.1",
"sulu/sulu": "^3.0",
"sulu/sulu": "^3.0.7",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@alexander-schranz do you want to merge this before or after the sulu release?

Comment thread composer.json Outdated
Co-authored-by: Alexander Schranz <alexander@sulu.io>
@alexander-schranz alexander-schranz merged commit 8377ef6 into sulu:3.0 May 20, 2026
5 of 6 checks passed
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