Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-182

Observer failures result in incorrect exception types during lifecycle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • 1.0.0.CR1
    • 1.0.0.PREVIEW1
    • Events
    • None

    Description

      Per section 10.4, @AfterBeanDiscovery and @AfterDependencyValidation events, of the specification, failures in observers during the bean discovery and dependency validation phases need to result in DefinitionException and DeploymentException respectively. Currently only the ObserverException type is being thrown.

      The following tests are marked ri-broken till this bug is fixed:
      org.jboss.jsr299.tck.tests.deployment.lifecycle.fail3.ObserverFailureInDefinitionPhaseTest
      org.jboss.jsr299.tck.tests.deployment.lifecycle.fail4.ObserverFailureInDeploymentPhaseTest

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            drallendc@gmail.com David Allen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: