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

Quick fix for "Multiple beans are eligible for injection point" problem markers works wrong in case of working with generic beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.2.0.Beta1
    • 3.3.0.M1
    • cdi-extensions
    • None

      We have at least two problems:
      1. There are duplicate Beans in quick fix menu
      2. "Specify '<bean>' bean for injection to the injection point" quick fix does not work with generic beans

      Test case 1:
      EXECUTE: Import http://anonsvn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/ CDI Project
      EXECUTE: Open org.jboss.generic2.DurableMessageLogger in Java Editor
      EXECUTE: Point mouse to @Inject annotations and wait
      ASSERT: Quick fix tool tip appears
      ASSERT: There is no duplicate quick fixes

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

                Created:
                Updated:
                Resolved: