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

StringTemplateParserVariableResolver does not implement Disposable interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2
    • 2.2
    • - Components: Sitemap
    • None
    • Blocker
    • Servlet Service Framework - 1.0.0-RC1
    • Servlet Service Framework - 1.0.0-RC2-dev

    Description

      As Csaba Kazó pointed out in comment on COCOON-2106 StringTemplateParserVariableResolver doesn't implement Disposable interface. This may lead to following error:
      java.lang.ClassCastException: org.apache.cocoon.components.treeprocessor.variables.StringTemplateParserVariableResolver cannot be cast to org.apache.avalon.framework.activity.Disposable
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.dispose(ConcreteTreeProcessor.java:333)

      Attachments

        Activity

          People

            lgawron Leszek Gawron
            grek Grzegorz Kossakowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: