Skip to content

Fix makeInstance DI for BackendConfigurationManager#80

Open
smirgol wants to merge 1 commit intomasterfrom
fix-backend-configuration-manager-di
Open

Fix makeInstance DI for BackendConfigurationManager#80
smirgol wants to merge 1 commit intomasterfrom
fix-backend-configuration-manager-di

Conversation

@smirgol
Copy link

@smirgol smirgol commented Feb 2, 2026

ConfigurationUtility is calling makeInstance on BackendConfigurationManager, but that service is defined as public: false.
Since it requires constructor args for instantiating, makeInstance throws an exception.
This patch works around the issue and works for typo3 v12 and v13. Had to use reflection though, as the parameter count differs between v12 and v13.

@smirgol smirgol requested a review from weakbit February 2, 2026 14:55
Copy link
Contributor

@weakbit weakbit left a comment

Choose a reason for hiding this comment

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

Tests fail

@smirgol smirgol force-pushed the fix-backend-configuration-manager-di branch from 5470b47 to 5dbf71d Compare February 4, 2026 14:32
@smirgol
Copy link
Author

smirgol commented Feb 4, 2026

still not a nice solution, but gets the job done

@smirgol smirgol requested a review from weakbit February 4, 2026 14:45
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