beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <>
Subject [jira] Resolved: (BEEHIVE-1043) Relax the forward action not found from an error to a warning.
Date Tue, 17 Jan 2006 18:07:43 GMT
     [ ]
Carlin Rogers resolved BEEHIVE-1043:

    Resolution: Fixed

This has been fixed with svn revision 369852,...

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.

        forwards = {
                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:
>      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...

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message