You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/08/14 18:19:24 UTC

DO NOT REPLY [Bug 22430] New: - warn if a an Action forwards a string that is not existing in struts-config or if strutsconfig forwards to an inexistend action.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22430>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22430

warn if a an Action forwards a string that is not existing in struts-config or if strutsconfig forwards to an inexistend action.

           Summary: warn if a an Action forwards a string that is not
                    existing in struts-config or if strutsconfig forwards to
                    an inexistend action.
           Product: Struts
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


Recently, I just ran into two problems:

Due to a typo, I had "suces" in my action and "success" in struts-config.xml

  ==> at application runtime, after the action forwarding the inexistent
"succes", I just got a blank screen in my webbrowser and no error message.
It would be very helpful to see something like as for example 
<<struts-config: not forward defined for "succes">> 

Secondly, I had struts-config forward to the action "listInbox.do" which doesn't
exist.
Again, after the action, I got plain white browserwindow with the previous
action still listed in the address bar, but no information what went wrong.

Suggestion: issue an error message at load-timesuch as:
<<strut-config: path "listInbox.do" does not exist>>

see also: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20415

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org