Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.8, 2.1.9, 2.1.10, 2.2
-
None
-
Patch available
Description
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...
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...