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

CDI model doesn't load beans from indirectly dependent projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.3.0.Beta1
    • 3.3.0.M5
    • cdi
    • None

    Description

      EXECUTE: Create three CDI projects:
      Project1
      Project2 (depends on/exports Project1)
      Project3 (depends on Project2)
      EXECUTE: Create a @Named bean in Project1: @Named("bean1").
      EXECUTE: Create a @Named bean in Project2: @Named("bean2").
      EXECUTE: Create a @Named bean in Project3: @Named("bean3").
      EXECUTE: Perform full build for all the projects.
      EXECUTE: Try Ctrl+Space in a EL like #

      {bean|} in any page of Project1.
      ASSERT: There is the only bean "bean1" available. It's good.
      EXECUTE: Try Ctrl+Space in a EL like #{bean|}

      in any page of Project2.
      ASSERT: There are bean "bean1" and "bean2" available. It's good too.
      EXECUTE: Try Ctrl+Space in a EL like #

      {bean|} in any page of Project3.
      ASSERT: There are bean "bean1" and "bean2" and "bean3" available. Everything is fine so far.
      EXECUTE: Restart your Eclipse.
      EXECUTE: Try Ctrl+Space in a EL like #{bean|}

      in any page of Project3.
      FAILURE: There is the only bean "bean3" available! It's a bug.
      EXECUTE: Try Ctrl+Space in a EL like #

      {bean|} in any page of Project2.
      ASSERT: There are bean "bean1" and "bean2" available. Ok.
      EXECUTE: Try Ctrl+Space in a EL like #{bean|}

      in any page of Project3.
      ASSERT: There are bean "bean1" and "bean2" and "bean3" available again. So it's working now!

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: