cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Déflache (JIRA) <j...@apache.org>
Subject [jira] Created: (COCOON-1840) [PATCH] XMLFileModule file-specific configuration ignored
Date Thu, 27 Apr 2006 15:30:39 GMT
[PATCH] XMLFileModule file-specific configuration ignored
---------------------------------------------------------

         Key: COCOON-1840
         URL: http://issues.apache.org/jira/browse/COCOON-1840
     Project: Cocoon
        Type: Bug

  Components: * Cocoon Core  
    Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9, 2.1.10-dev (current SVN)    
    Reporter: Guillaume Déflache
    Priority: Minor
 Attachments: XMLFileModule.java.diff

The "reloadable" and "cacheable" attributes of the "file" configuration element in the XMLFileModule
input module are ignored, because the DocumentHelper associated to the file by its name, which
is cached in a Map, is put there with the wrong key in configure(), so it is recreated at
the first attribute access. The tiny attached patch fixes this.

The patch is for Cocoon 2.1 branch (tested with 2.1.9: apply when in "src" parent folder),
but the error is apparently also present in the trunk...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message