CDI model doesn't load beans from indirectly dependent projects
---------------------------------------------------------------
Key: JBIDE-10330
URL:
https://issues.jboss.org/browse/JBIDE-10330
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: CDI
Affects Versions: 3.3.0.M5
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.Beta1
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.
{color:red}FAILURE: There is the only bean "bean3" available! It's a
bug.{color}
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!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira