You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2006/05/29 14:08:07 UTC

svn commit: r410085 - in /cocoon/branches/BRANCH_2_1_X: src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java status.xml

Author: antonio
Date: Mon May 29 05:08:06 2006
New Revision: 410085

URL: http://svn.apache.org/viewvc?rev=410085&view=rev
Log:
Fix COCOON-1840 XMLFileModule file-specific configuration ignored. Thanks to Guillaume Déflache (guillaume@anyware-tech.com).

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java
    cocoon/branches/BRANCH_2_1_X/status.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java?rev=410085&r1=410084&r2=410085&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java Mon May 29 05:08:06 2006
@@ -274,7 +274,7 @@
             // by assigning the source uri to this.src the last one will be the default
             // OTOH caching / reload parameters can be specified in one central place
             // if multiple file tags are used.
-            this.documents.put(files[i], new DocumentHelper(reload, cache, this.src, this));
+            this.documents.put(this.src, new DocumentHelper(reload, cache, this.src, this));
         }
 
         // init caches

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/status.xml?rev=410085&r1=410084&r2=410085&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Mon May 29 05:08:06 2006
@@ -182,6 +182,9 @@
   <release version="@version@" date="@date@">
 -->
   <release version="2.1.10" date="TBD">
+    <action dev="AG" type="fix" fixes-bug="COCOON-1840" due-to="Guillaume Déflache" due-to-email="guillaume@anyware-tech.com">
+      XMLFileModule: file-specific configuration ignored.
+    </action>
     <action dev="AG" type="fix" fixes-bug="COCOON-1625" due-to="Aleksander Bandelj" due-to-email="aleksander.bandelj@academa.si">
       HTTPRequest: Redundant copying between container and form encoding.
     </action>