[seam-issues] [JBoss JIRA] Created: (JBSEAM-4780) IllegalArgumentException: No enum const PropagationType.xxxx

Flavio Costa (JIRA) jira-events at lists.jboss.org
Tue Feb 15 22:43:13 EST 2011


IllegalArgumentException: No enum const PropagationType.xxxx
------------------------------------------------------------

                 Key: JBSEAM-4780
                 URL: https://issues.jboss.org/browse/JBSEAM-4780
             Project: Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.2.1.Final
         Environment: Java 6u23
JBoss 4.2.3.GA
Linux
            Reporter: Flavio Costa
            Priority: Blocker
             Fix For: 2.3.0.ALPHA


After fixing JBSEAM-4774 a new bug was introduced.

If a user types *propagation="nested"* instead of *propagation="NESTED"* an exception like this is thrown: _IllegalArgumentException: No enum const PropagationType.nested_

That's a show stopper, since the documentation, the examples and the community are already used to using the lowercase "version".

The fix is simple, I'm attaching a patch.

Again, that will break many apps and bring 2.2.1.Final adoption to a stop.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list