Open donndorf opened 2 months ago
Scenario:
Bean A Bean B
Bean B is being injected into Bean A Bean A is used in a BPMN service Task
Generating the code creates an Empty Constructor Call for Bean A. This leads to failure at application Startup because the Injected Bean B is required as Argument
I uploaded a small example here: https://github.com/donndorf/kogito-inject-empty-constructor
Either Constructor being called correctly or Bean being fetched vie CDI /Quarkus Arc container
Empty constructor called for Bean
https://github.com/donndorf/kogito-inject-empty-constructor
uname -a
ver
No response
java -version
10.0.999-SNAPSHOT
mvnw --version
gradlew --version
Describe the bug
Scenario:
Bean A Bean B
Bean B is being injected into Bean A Bean A is used in a BPMN service Task
Generating the code creates an Empty Constructor Call for Bean A. This leads to failure at application Startup because the Injected Bean B is required as Argument
I uploaded a small example here: https://github.com/donndorf/kogito-inject-empty-constructor
Expected behavior
Either Constructor being called correctly or Bean being fetched vie CDI /Quarkus Arc container
Actual behavior
Empty constructor called for Bean
How to Reproduce?
https://github.com/donndorf/kogito-inject-empty-constructor
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
10.0.999-SNAPSHOT
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response