Skip to content

Fix factory injection - #10

Open
simstern wants to merge 1 commit into
bwaidelich:mainfrom
onivaevents:bugfix/constructor-visibility
Open

simstern wants to merge 1 commit into
bwaidelich:mainfrom
onivaevents:bugfix/constructor-visibility

Conversation

@simstern

Copy link
Copy Markdown

Change the constructor visibility to support singleton injection.

If the constructor is protected, it leads to:
Exception #1686153840 in line 542 of /var/www/html/Packages/Framework/Neos.Flow/Classes/ObjectManagement/ObjectManager.php: Call to protected Wwwision\ImportService\Factory\PresetFactory::__construct() from invalid context

The exception happens after upgrading from Flow 8.3 to 8.4

Change the constructor visibility to support singleton injection.
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.

1 participant