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
Return to search
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
Don Brown made changes - 23/Apr/06 04:45 AM
Field Original Value New Value
issue.field.bugzillaimportkey 24263 27110
Paul Benedict made changes - 26/Nov/06 06:12 AM
Component/s Core [ 21233 ]
Assignee Struts Developers [ dev@struts.apache.org ]
Component/s Unknown [ 21244 ]
Bugzilla Id 24263
Paul Benedict made changes - 30/Jun/07 10:23 PM
Fix Version/s 1.4.0 [ 21795 ]
Paul Benedict made changes - 30/Jun/07 10:24 PM
Link This issue is part of STR-423 [ STR-423 ]
Paul Benedict made changes - 04/Jul/07 03:03 AM
Link This issue blocks STR-786 [ STR-786 ]
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

Paul Benedict made changes - 04/Jul/07 04:46 AM
Summary [config] warn if a form is not declared but later used in struts-config.xml Warn if a form is not declared but used by an action
Paul Benedict made changes - 04/Jul/07 04:48 AM
Assignee Paul Benedict [ paul4christ79 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]