Issue Details (XML | Word | Printable)

Key: STR-1819
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Paul Benedict
Reporter: Ralf Hauser
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts 1

Warn if a form is not declared but used by an action

Created: 31/Oct/03 02:26 AM   Updated: 04/Jul/07 04:48 AM
Component/s: Core
Affects Version/s: 1.0.0
Fix Version/s: 1.4.0

Environment:
Operating System: other
Platform: Other
Issue Links:
Dependency
 
Incorporates
 

Bugzilla Id: 24263


 Description  « Hide
by a cvs merge, a form declaration dropped out.

No complaint while parsing the the config even though a <action ... name=""
later referenced the missing form.

Only, once the form is executed, it is found missing.

It would save programmers a lot of time if such errors would be raised at load
and not only at the end of lenghty, often manual test runs.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
Struts #553079 Wed Jul 04 04:46:17 UTC 2007 pbenedict STR-1819: Warn if a form is not declared but later used
Files Changed
MODIFY /struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java
MODIFY /struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionResources.properties