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


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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
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.