[ http://issues.apache.org/jira/browse/COCOON-1840?page=all ]
Antonio Gallardo closed COCOON-1840:
------------------------------------
Fix Version: 2.2-dev (Current SVN)
2.1.10-dev (current SVN)
Resolution: Fixed
Thanks for the patch. It was applied in 2.1.10-dev and 2.2-dev. Feel free to
reopen the bug if needed.
> [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
> Assignee: Antonio Gallardo
> Priority: Minor
> Fix For: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
> 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