Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-3383

KualiIncidentReport.jsp doesn't work on Tomcat 5.5.27+/Tomcat 6.0 (and possibly other screens?)

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.1
    • Component/s: Development
    • Labels:
      None
    • Similar issues:
      KULRICE-4569rowDisplay.tag doesn't work properly in Tomcat 5.5.30
      KULRICE-3207The Close button at the bottom of the Role screen doesn't close the screen
      KULRICE-2617If possible, remove dependencies on tomcat jasper libraries from Rice pom file
      KULRICE-6585Look into possible memory and thread local leaks reported by tomcat on a shutdown
      KULRICE-8770easyXDM issues with Firefox and Tomcat
      KULRICE-9884Column sort on some columns doesn't work
      KULRICE-1536Content types management screen in KEN doesn't work
      KULRICE-4617Rice logoff does not work on tomcat
      KULRICE-14060AgendaEditor: Attribute query for context field doesn't work.
      KULRICE-4599Test Kuali Rice standalone server in Tomcat 6
    • Rice Module:
      KNS

      Description

      I'm attaching a stack trace of the problem as reported by Curtis Bray of UC Davis to this email that they encountered on Tomcat 5.5.27. I had previously thought we had fixed this problem (see KULRICE-2649) but it appears there are other cases that were missed.

      They indicated that setting the environment property "org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING" worked around the problem, but we need to ensure this works even when that is not set.

      For whoever is assigned this issue, it's important that we understand the underlying cause of the error and then work to address the issue on any other tag libraries and JSP pages that are in the codebase.

        Activity

        Hide
        Cameron K Ahana (Inactive) added a comment -

        I'm running Tomcat 6 with a vanilla standalone server install and ran across this issue with some of the links off the main menu such as "User Preferences" and "Routing and Identity Management Document Type Hierarchy". Setting the system environment property didn't work for me. Further investigation of the stacktrace shows that it's a problem with errorCount.tag when it does the binary arithmetic. There's no difference between the JSP 2.0 and JSP 2.1 specifications when it comes to binary arithmetic and type conversion so i think it's a change in the jasper compiler that's causing the problem between Tomcat 5.5.26 and versions above that.

        Anyways, defaulting auditCount in errorCount.tag to 0 if it's empty appears to resolve the problem. When running the modified tag, I no longer get the error in Tomcat 6.

        <c:if test="$

        {empty auditCount}

        ">
        <c:set var="auditCount" value="0" />
        </c:if>

        <c:set var="errorCount" value="$

        {ErrorContainer.errorCount + auditCount}

        " />

        Show
        Cameron K Ahana (Inactive) added a comment - I'm running Tomcat 6 with a vanilla standalone server install and ran across this issue with some of the links off the main menu such as "User Preferences" and "Routing and Identity Management Document Type Hierarchy". Setting the system environment property didn't work for me. Further investigation of the stacktrace shows that it's a problem with errorCount.tag when it does the binary arithmetic. There's no difference between the JSP 2.0 and JSP 2.1 specifications when it comes to binary arithmetic and type conversion so i think it's a change in the jasper compiler that's causing the problem between Tomcat 5.5.26 and versions above that. Anyways, defaulting auditCount in errorCount.tag to 0 if it's empty appears to resolve the problem. When running the modified tag, I no longer get the error in Tomcat 6. <c:if test="$ {empty auditCount} "> <c:set var="auditCount" value="0" /> </c:if> <c:set var="errorCount" value="$ {ErrorContainer.errorCount + auditCount} " />
        Hide
        Jeremy Hanson added a comment -

        We are running into this same problem in Tomcat 6.0 at Iowa State.

        The code added to errorCount.tag seems to fix the problem. I will go ahead and commit the change.

        Show
        Jeremy Hanson added a comment - We are running into this same problem in Tomcat 6.0 at Iowa State. The code added to errorCount.tag seems to fix the problem. I will go ahead and commit the change.
        Hide
        Jeremy Hanson added a comment -

        ErrorCount.tag has been updated.

        Show
        Jeremy Hanson added a comment - ErrorCount.tag has been updated.

          People

          • Assignee:
            Jeremy Hanson
            Reporter:
            Eric Westfall
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day, 4 hours
              1d 4h
              Remaining:
              Remaining Estimate - 1 day, 4 hours
              1d 4h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Structure Helper Panel