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

Open CDI Named Bean dialog works incorrectly with beans declared in seam-config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M4
    • 3.3.0.M3
    • cdi-extensions
    • None

      EXECUTE: Download/clone and install http://seamframework.org/Seam3/SecurityModule as an existing maven project. Make sure CDI support is enabled for the projects.
      EXECUTE: Open /seam-security-example-openid-rp/src/main/resources/META-INF/seam-beans.xml
      EXECUTE: Remove org.jboss.seam.security.external.openid.OpenIdRpInApplicationScopeProducer (line 25) to fix this XML. Save the file.
      EXECUTE: Ctrl+Alt+Z
      EXECUTE: Type "identity" as a bean name
      ASSERT: There are a few beans with name "identity". If you see some beans from JARs it's ok. But there should be also two beans from source code. One of them should point to /seam-security-example-openid-rp/src/main/resources/META-INF/seam-beans.xml and the other one to /seam-security/src/main/java/org/jboss/seam/security/IdentityImpl.java
      FAILURE: But right now there are two beans with similar paths and both open IdentityImpl.java:

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

              Created:
              Updated:
              Resolved: