-
Bug
-
Resolution: Done
-
Major
-
5.1.0.Final
-
None
-
None
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.