Click
  1. Click
  2. CLK-277

Problem with excluded *.htm pages

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Click ver 1.3.1 & svn
      linux java 1.5.0.13 & tomcat 6.0.14

      Description

      I put full tiny_mce distribution to web directory and add <excludes pattern="/tiny_mce/*"></excludes> to the click.xml.
      When I try open any .htm page from /tiny_mce/ (ex /tiny_mce/themes/advanced/about.htm#) click throws exception:

      java.lang.ClassCastException: java.util.ArrayList
      at net.sf.click.ClickApp.getPageFieldArray(ClickApp.java:610)
      at net.sf.click.ClickServlet.processPageFields(ClickServlet.java:1460)
      at net.sf.click.ClickServlet.initPage(ClickServlet.java:1009)
      at net.sf.click.ClickServlet.createPage(ClickServlet.java:925)
      at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:349)
      at net.sf.click.ClickServlet.doGet(ClickServlet.java:281)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at net.sf.click.extras.filter.CompressionFilter.doFilter(CompressionFilter.java:209)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:595)

      When click start i see:
      ....
      [Click] [debug] /tiny_mce/themes/advanced/about.htm -> net.sf.click.ClickApp$ExcludePage
      ....
      so exclude should works.
      Other pages *.htm are correct processed by click servlet.

      Regards
      Sep

        Activity

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Sep
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development