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

Wrong line number in OpenOn for injection of bean declared in seam config.

XMLWordPrintable

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

      EXECUTE: Create CDI project with Seam Config support
      EXECUTE: Add the following files to the project:

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://java.sun.com/xml/ns/javaee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:s="urn:java:ee" 
             xmlns:r="urn:java:org.example.reports">
      
      	<r:Resource>
      	  <s:Produces/>
      	  <r:SalesQualifier/>
      	  <value>Text</value>
      	</r:Resource>
      </beans>
      
      package org.example.reports;
      
      import javax.inject.Inject;
      
      public class Report {
      
      	public @Inject @SalesQualifier Resource path;
      }
      
      package org.example.reports;
      
      public class Resource {
      }
      

      EXECUTE: Ctrl+Click on public @Inject @SalesQualifier Resource path;
      FAILURE: There is "Open Resource in beans.xml at line 6.
      ASSERT: There is "Open Resource in beans.xml at line 7.

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

              Created:
              Updated:
              Resolved: