[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7947) 3.1 error is on class but should be on the field
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Fri Jan 21 11:42:49 EST 2011
[ https://issues.jboss.org/browse/JBIDE-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen updated JBIDE-7947:
---------------------------------------
Fix Version/s: 3.2.0.CR2 (tentative)
(was: 3.2.0.CR1)
Description:
@Singleton
public class Test {
public String xxx;
public String xyz;
}
Gives something like this on the class for every public field:
Description Resource Path Location Type
Managed bean with a public field must be @Dependent scoped [JSR-299 §3.1] MockOptionTestPlugin.java /forge-shell/src/test/java/org/jboss/seam/forge/shell/test/command line 36 CDI Problem
That error should be on the field, not the class.
was:
@Singleton
public class Test {
public String xxx;
public String xyz;
}
Gives something like this on the class for every public field:
Description Resource Path Location Type
Managed bean with a public field must be @Dependent scoped [JSR-299 §3.1] MockOptionTestPlugin.java /forge-shell/src/test/java/org/jboss/seam/forge/shell/test/command line 36 CDI Problem
That error should be on the field, not the class.
moving of CR1, if issue was fixed in CR1 resolve and fix on CR1.
> 3.1 error is on class but should be on the field
> ------------------------------------------------
>
> Key: JBIDE-7947
> URL: https://issues.jboss.org/browse/JBIDE-7947
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi (jsr-299)
> Affects Versions: 3.2.0.Beta2
> Reporter: Max Rydahl Andersen
> Assignee: Alexey Kazakov
> Fix For: 3.2.0.CR2 (tentative)
>
> Attachments: errorOnField.png
>
>
> @Singleton
> public class Test {
> public String xxx;
> public String xyz;
> }
> Gives something like this on the class for every public field:
> Description Resource Path Location Type
> Managed bean with a public field must be @Dependent scoped [JSR-299 §3.1] MockOptionTestPlugin.java /forge-shell/src/test/java/org/jboss/seam/forge/shell/test/command line 36 CDI Problem
> That error should be on the field, not the class.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list