Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-27

site.xml won't reload in webapp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3, 0.6
    • Fix Version/s: 0.5
    • Component/s: Launch 'forrest run'
    • Labels:
      None

      Description

      When creating docs in a live webapp, one frequently needs to edit site.xml to add new entries. Unfortunately, there is a caching problem which means that a context reload is required to pick up site.xml changes.

      The bug appears to be that the SitemapSource's CacheValidity object is always set to null, so the XMLFileModule never reloads the XML. Once Cocoon's current caching woes[1] are over, I'll have a go at fixing this. The LinkRewriterTransformer also needs to be made Cacheable, which is comparatively simple.


      --Jeff

      [1] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16248

        Attachments

          Activity

            People

            • Assignee:
              jefft Jeff Turner
              Reporter:
              jefft Jeff Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: