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

    Details

    • Release Notes Text:
      Release note is not required for sub-tasks
    • Release Notes Docs Status:
      Not Required
    • Similar Issues:
      Show 10 results 

      Description

      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.

        Issue Links

          Activity

          Hide
          Alexey Kazakov
          added a comment -

          Fixed. Please verify.

          Show
          Alexey Kazakov
          added a comment - Fixed. Please verify.
          Hide
          Daniel Azarov
          added a comment -

          verified

          Show
          Daniel Azarov
          added a comment - verified

            People

            • Assignee:
              Alexey Kazakov
              Reporter:
              Alexey Kazakov
              Writer:
              Isaac Rooskov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: