Bug 50063

Summary: Latest trunck can't configure context when metadata-complete is true and version is 3.0
Product: Tomcat 7 Reporter: heyoulin <heyoulin>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: trunk   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description heyoulin 2010-10-08 22:59:40 UTC
patch:

### Eclipse Workspace Patch 1.0
#P tomcat-7.0.x
Index: java/org/apache/catalina/startup/ContextConfig.java
===================================================================
--- java/org/apache/catalina/startup/ContextConfig.java	(revision 1006105)
+++ java/org/apache/catalina/startup/ContextConfig.java	(working copy)
@@ -1281,6 +1281,7 @@
                     }
                 }
             } else {
+            	webXml.configureContext(context);
                 ok = true;
             }
Comment 1 Mark Thomas 2010-10-10 05:58:48 UTC
That's what I get for just running the associated unit tests. Thanks for spotting this as well as finding the problem and providsing a patch.


Patch applied to trunk and will be in 7.0.4 onwards