You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/03/13 07:03:00 UTC
[jira] [Updated] (CAUSEWAY-3326) Dependencies in @Types are not being injected
[ https://issues.apache.org/jira/browse/CAUSEWAY-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood updated CAUSEWAY-3326:
------------------------------------------
Fix Version/s: 2.0.0-RC2
(was: 2.0.0-RC1)
> Dependencies in @Types are not being injected
> ---------------------------------------------
>
> Key: CAUSEWAY-3326
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3326
> Project: Causeway
> Issue Type: Bug
> Affects Versions: 2.0.0-M9
> Reporter: Martin Hesse
> Priority: Major
> Fix For: 2.0.0-RC2
>
>
> when using types, as in
> {code:java}
> public @interface Name {
> int MAX_LEN = 40;
> class Specification extends AbstractSpecification2<String> {
> @Inject
> private DomainModule.Configuration configuration;
> {code}
> then the dependencies are not correctly injected into the Specification which will result in a NullPointerException (configuration is null).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)