[jbosstools-issues] [JBoss JIRA] (JBIDE-17574) Warning missing when trying to inject bean without specified scope

Rastislav Wagner (JIRA) issues at jboss.org
Wed Jun 11 01:47:15 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975082#comment-12975082 ] 

Rastislav Wagner commented on JBIDE-17574:
------------------------------------------

1. Yes, cdi-api-1-1.jar is present
2. I didnt know that validator will also ignore this, I thought that we might want to warn user that bean wont be discovered (due to bean-discovery-mode="annotated" ) and he should specify some scope. You can reject this JIRA if current behaviour is ok.

> Warning missing when trying to inject bean without specified scope
> ------------------------------------------------------------------
>
>                 Key: JBIDE-17574
>                 URL: https://issues.jboss.org/browse/JBIDE-17574
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Rastislav Wagner
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Beta3
>
>
> If Im not mistaken, we should show warning when trying to inject bean without specified scope and bean-discovery-mode="annotated"



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list