Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9388 Support Seam Servlet module
  3. JBIDE-9389

CDI validator should ignore injection points annotated @RequestParam/@HeaderParam/@CookieParam

XMLWordPrintable

    • Release note is not required for sub-tasks
    • Not Required

      We should not mark injections annotated @RequestParam, @HeaderParam or @CookieParam as unsatisfied injection poin since we can't resolve such an injection in design time.
      See http://docs.jboss.org/seam/3/servlet/latest/reference/en-US/html/injectablerefs.html#injectablerefs.request_param

      EXECUTE: Import https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/projects/SeamCoreTest
      EXECUTE: Build the project
      EXECUTE: Open src/org/jboss/tools/seam/servlet/validation/test/Validation.java
      ASSERT: There should not be CDI validation problems on injections at lines 12 to 38.

            alexeykazakov Alexey Kazakov
            alexeykazakov Alexey Kazakov
            Isaac Rooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: