[ http://issues.apache.org/jira/browse/BEEHIVE-1043?page=all ]
Carlin Rogers resolved BEEHIVE-1043:
------------------------------------
Resolution: Fixed
This has been fixed with svn revision 369852,...
http://svn.apache.org/viewcvs?rev=369852&view=rev
To test this, create a page flow and add an action to the page flow Controller
such that the Jpf.Forward annotation of the action has an action attribute
(rather than path) with the value being a bogus, non-existant action name.
Something like the following.
@Jpf.Action(
forwards = {
@Jpf.Forward(
name = "success",
action = "aBogusAction")
})
public Forward testAction()
{
return new Forward("success");
}
Before this change, the compiler would report an error. Now, the compiler will
report only a warning.
> Relax the forward action not found from an error to a warning.
> --------------------------------------------------------------
>
> Key: BEEHIVE-1043
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1043
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1
> Reporter: Carlin Rogers
> Assignee: Carlin Rogers
> Priority: Minor
> Fix For: 1.0.1
>
> A forward that references a non-existent action using the *action* attribute
> is currently an error while referencing a
> non-existent action or page with the *path* attribute results in a compiler
> warning. Note that action="..." does not support referencing an action name
> in a Struts module. So rather than report an error, just report a warning.
> After a brief discussion on the dev list, I think we're in agreement that
> it's OK to relax this to a warning
> See the discussion in the archive...
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200601.mbox/[EMAIL
> PROTECTED]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira