Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1840

[PATCH] XMLFileModule file-specific configuration ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8, 2.1.9, 2.1.10, 2.2
    • 2.1.10, 2.2
    • * Cocoon Core
    • 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...

      Attachments

        Activity

          People

            antonio Antonio Gallardo Rivera
            guillaume@anyware-tech.com Guillaume Déflache
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: