Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8957

If you create a new qualifier in "Specify CDI Bean for the Injection Point" wizard then this qualifier should appear "In the Bean" tab.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M2
    • 3.3.0.M1
    • cdi
    • None

      EXECUTE: Create a CDI project (or enable CDI support on some existing project).
      EXECUTE: Create

      FooBean.java
      package org.test;
      
      public class FooBean {
      }
      
      FooBeanX.java
      package org.test;
      
      public class FooBeanX extends FooBean {
      }
      
      TestBean.java
      package org.test;
      
      import javax.inject.Inject;
      
      public class TestBean {
          @Inject FooBean foo;
      }
      

      EXECUTE: Build the project.
      ASSERT: There is a problem marker on @Inject FooBean foo: Multiple beans are eligible for injection to the injection point [JSR-299 ยง5.2.1]
      EXECUTE: Click on the problem to show all the available quick fixes.
      EXECUTE: Select Specify FooBeanX Bean for the Injection Point.
      ASSERT: Specify CDI Bean for the Injection Point wizard appears.
      EXECUTE: Click on "Create New Qualifier" button.
      EXECUTE: Input "SomeNewQualifier" as a name of the qualifier and press Finish.
      FAILURE: The SomeNewQualifier appears in "Available" tab instead of "In the bean" tab.

            dazarov_jira Daniel Azarov (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: