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
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to