Skip to content
Snippets Groups Projects
Commit 4f8f50e9 authored by Anja Leichsenring's avatar Anja Leichsenring
Browse files

[BUGFIX] Omit constructor injection for optional parameters

ObjectManager tries to resolve and, in case of objects, inject all
constructor parameters, no matter what the calling function passes
to the constructor.

If the constructor value is optional, and no value or NULL is given
to the call, no constructor injection must take place for this parameter.

Change-Id: I646e6928cbadb486b1e2734efbe1ea5fbd953765
Resolves: #52349
Releases: 6.2
Reviewed-on: https://review.typo3.org/24128
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
parent 86c8f807
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment