Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None

      Description


      When trying to create a lesson, I get this exception when clicking on "Add lesson":

      org.apache.jasper.JasperException: File "/WEB-INF/tags/TextSearch.tag" not found
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
      org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
      org.apache.jasper.compiler.JspUtil.getInputStream(JspUtil.java:829)
      org.apache.jasper.xmlparser.XMLEncodingDetector.getEncoding(XMLEncodingDetector.java:108)
      org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:348)
      org.apache.jasper.compiler.ParserController.doParse(ParserController.java:207)
      org.apache.jasper.compiler.ParserController.parseTagFileDirectives(ParserController.java:170)
      org.apache.jasper.compiler.TagFileProcessor.parseTagFileDirectives(TagFileProcessor.java:548)
      org.apache.jasper.compiler.TagLibraryInfoImpl.createTagFileInfo(TagLibraryInfoImpl.java:482)
      org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:252)
      org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:163)
      org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
      org.apache.jasper.compiler.Parser.parseDirective(Parser.java:491)
      org.apache.jasper.compiler.Parser.parseElements(Parser.java:1438)
      org.apache.jasper.compiler.Parser.parse(Parser.java:137)
      org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
      org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
      org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:171)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
      org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:142)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:69)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFil

        Activity

        ernieg Ernie Ghiglione created issue -
        Hide
        ernieg Ernie Ghiglione added a comment -
        Also, do we need this tag here?
        Show
        ernieg Ernie Ghiglione added a comment - Also, do we need this tag here?
        ernieg Ernie Ghiglione made changes -
        Field Original Value New Value
        Attachment Picture 11.png [ 12108 ]
        Hide
        marcin Marcin Cieslak added a comment -
        TextSearch is defined in LAMS tag library file "lams.tld". An exact copy of this file is put into each project which requires LAMS tags.
        This goes also for lams_monitoring, which is the source of the problem, but does not seem to use TextSearch tag.
        In order to remove the requirement unnecessary tags, "lams.tld" needs be customised for Monitoring and probably for every other project.
        Even though this can be easily accomplished, it is easier to maintain the same set of tags and tag library contents in each project.
        This way adding a new tag requires a simple copy-paste to each project, rather than manual changes in every customised file.
        Show
        marcin Marcin Cieslak added a comment - TextSearch is defined in LAMS tag library file "lams.tld". An exact copy of this file is put into each project which requires LAMS tags. This goes also for lams_monitoring, which is the source of the problem, but does not seem to use TextSearch tag. In order to remove the requirement unnecessary tags, "lams.tld" needs be customised for Monitoring and probably for every other project. Even though this can be easily accomplished, it is easier to maintain the same set of tags and tag library contents in each project. This way adding a new tag requires a simple copy-paste to each project, rather than manual changes in every customised file.
        Hide
        marcin Marcin Cieslak added a comment -
        Fixed by adding the missing tag.
        Show
        marcin Marcin Cieslak added a comment - Fixed by adding the missing tag.
        marcin Marcin Cieslak made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        ernieg Ernie Ghiglione added a comment -
        Thanks. This worked a treat.
        Show
        ernieg Ernie Ghiglione added a comment - Thanks. This worked a treat.
        ernieg Ernie Ghiglione made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            marcin Marcin Cieslak
            Reporter:
            ernieg Ernie Ghiglione
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development