[
http://jira.jboss.com/jira/browse/JBSEAM-2660?page=comments#action_12415646 ]
Alex Savitsky commented on JBSEAM-2660:
---------------------------------------
There's still a collision, sort of. Whenever the
"org.jboss.seam.handledException" variable is not present (say, when user
refreshes the error page), it is instead being evaluated as "property
handledException of the object org.jboss.seam", resulting in "The class
'org.jboss.seam.Namespace' does not have the property
'handledException'", since "org.jboss.seam" evaluates to an
instance of Namespace.Just try placing "org.jboss.seam.handledException" on a
home page.
What's worse, I don't even see a way to check for this condition! I've tried
to place a navigation rule for my error page, so that it would, say, redirect to home page
if there's no exception present, but "org.jboss.seam.handledException" will
either evaluate correctly, or fail outright...
Rename exception context variables
----------------------------------
Key: JBSEAM-2660
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2660
Project: Seam
Issue Type: Bug
Components: Exception Handling
Affects Versions: 2.1.0.A1, 2.0.0.GA, 2.0.1.GA
Reporter: Gavin King
Assigned To: Pete Muir
Priority: Blocker
Fix For: 2.0.2.CR1, 2.1.0.BETA1
We have a name collision on the name "org.jboss.seam.exception", we need to use
the names:
org.jboss.seam.exception.caughtException
org.jboss.seam.exception.handledException
in the Exceptions component and the debug page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira