Issue Details (XML | Word | Printable)

Key: STR-2877
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Niall Pemberton
Reporter: Wendy Smoak
Votes: 0
Watchers: 0
Operations

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

TestModuleConfig fails when run offline

Created: 15/May/06 08:21 AM   Updated: 04/Jul/07 03:25 AM
Component/s: Core
Affects Version/s: Nightly Build
Fix Version/s: 1.3.5

Time Tracking:
Not Specified

Resolution Date: 29/May/06 02:00 PM
Labels:


 Description  « Hide
TestModuleConfig in struts-core fails unless an Internet connection is available.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #410029 Mon May 29 06:46:04 UTC 2006 niallp Fix for STR-2877 - TestModuleConfig fails when run offline
Files Changed
MODIFY /struts/action/trunk/core/src/test/java/org/apache/struts/config/struts-config-1.1.xml
MODIFY /struts/action/trunk/core/src/test/java/org/apache/struts/config/TestModuleConfig.java

Repository Revision Date User Message
ASF #410032 Mon May 29 06:51:32 UTC 2006 niallp Port fix for STR-2877 to 1.2.x branch - TestModuleConfig fails when run offline
Files Changed
MODIFY /struts/action/branches/STRUTS_1_2_BRANCH/src/test/org/apache/struts/config/TestModuleConfig.java
MODIFY /struts/action/branches/STRUTS_1_2_BRANCH/src/test/org/apache/struts/config/struts-config-1.1.xml

Niall Pemberton added a comment - 29/May/06 02:00 PM
There were two issues causing this:

- struts-config-1.1.xml referenced the 1.2 DTD in its DOCTYPE declaration and testParse1_1() which uses that file only registered the 1.1 DTD
- testCustomMappingParse1_1() was parsing the config file for the 1.2 DTD rather than the version for the 1.1 DTD

This problem has been around a while since it was also in the 1.2.x branch - fixed in current trunk and 1.2.x branch.

Niall Pemberton made changes - 29/May/06 02:00 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Assignee Niall Pemberton [ niallp ]
Paul Benedict made changes - 04/Jul/07 03:25 AM
Status Resolved [ 5 ] Closed [ 6 ]
Jeff Turner made changes - 01/Feb/10 01:03 AM
Project Import Mon Feb 01 01:03:21 UTC 2010 [ 1264986201992 ]