2 Replies Latest reply on Nov 13, 2013 12:00 PM by blacar

    Two beans cannot specialize the same bean Managed Bean

    blacar

      Hello,

       

      I found this error trying to have two beans that specializes one third.

       

      This happens even when those beans are alternatives and only one is enabled through beans.xml.

       

      I cannot found any documentation supporting this behavior, on the contrary what i've seen at "Chapter 13. Specialization, inheritance and alternatives" is

       

      "Suppose an enabled bean X specializes a second bean Y. If there is another enabled bean that specializes Y we say that inconsistent specialization exists."

       

      Does anybody experiences this? ... i see this as a bug in either documentation or framework since weld is not working the way it is described here.

       

      This is on 1.1.10

       

      Thanks!