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

Passivation validation throws incorrect exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.1.1.Final
    • 5.1.0.Final
    • None
    • None

    Description

      During bean validation, if there is a passivating non-normal scope, Weld throws DefinitionException where it should instead throw DeploymentException.

      This has effectively zero impact but the TCK test in question will get fixed, so Weld should fix the exception as well.

      See TCK issue - https://github.com/jakartaee/cdi-tck/issues/431
      Note that we'd need to either temporarily exclude the TCK test or simply issue this fix once the TCK release with the change is out.

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            manovotn Matěj Novotný
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: