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

Marker on an unsatisfied injection point in CDI Seam config disappears after modifications

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Alpha2
    • None
    • cdi-extensions
    • None

      Test SeamConfigValidationTest.testSettingInlineBeanValuesToBeanOrSetOrMap fails when it runs after testAddClassToResolveNode.

      Steps:
      1. Import test project CDIConfigValidationTest from plugin org.jboss.tools.cdi.seam.config.core.test.
      2. Open src/META-INF/beans.xml
      ASSERT: Tag <s:value> in line 61 is marked 'No bean is eligible for injection to the injection point'; tag <s:Integer> in the next line is marked 'Type mismatch: cannot convert from Integer to String'.
      3. Create new class org.jboss.beans.validation.test.MyBean2.
      ASSERT: Only marker at <v:MyBean2> in line 8 disappears ('Cannot resolve type org.jboss.beans.validation.test.MyBean2'); all other markers should persist.
      FAILURE: Markers 'No bean is eligible for injection...' including the one in line 61 disappear.

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: