Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-37478

Tomcat 7 + attribute whitespace mis-formatting, causes JSP Error

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.0.X EE
    • Fix Version/s: 6.0.X EE, 6.1.X EE
    • Component/s: Staging
    • Labels:
    • Environment:
      Tomcat 7 + HSQL. Portal 6.0.x EE. Git ID: 435380b69f4e9784b5fa97ae373841e19e9c5735

      Description

      Tomcat 7 + attribute whitespace mis-formatting, causes JSP Error

      Steps to reproduce:

      1. Use Tomcat 7
      2. Turn on Local Live Staging (Control Panel > Pages > Settings > Staging)
      3. Goto Public Pages
      4. Click [Publish to Live Now]
      5. A blank or collapsed dialog window will appear, along with errors in the Tomcat console.

      Tomcat Console:

      12:03:29,017 ERROR [IncludeTag:410] Current URL /group/control_panel/manage?p_p_id=156&p_p_lifecycle=0&p_p_state=exclusive&p_p_mode=view&doAsGroupId=19&refererPlid=10150&_156_struts_action=%2Fgroup_pages%2Fpublish_pages&_156_cmd=publish_to_live&_156_tabs1=public-pages&_156_pagesRedirect=http%3A%2F%2
      Flocalhost%3A6080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D156%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D19%26refererPlid%3D10150%26_156_struts_action%3D%252Fgroup_pages%252Fedit_pages%26_156_tabs1%3Dpublic-pages%26_156_tabs2%3Dpages%26_156_tabs3%3Dchildren%26_
      156_redirect%3D%26_156_groupId%3D19%26_156_tabs4%3D%26_156_selPlid%3D0&_156_groupId=10259&_156_selPlid=0 generates exception: /html/portlet/communities/publish_pages.jsp (line: 357, column: 6) /html/portlet/communities/publish_pages_options.jspf (line: 272, column: 154) The JSP specification require
      s that an attribute name is preceded by whitespace
      12:03:29,021 ERROR [IncludeTag:154] org.apache.jasper.JasperException: /html/portlet/communities/publish_pages.jsp (line: 357, column: 6) /html/portlet/communities/publish_pages_options.jspf (line: 272, column: 154) The JSP specification requires that an attribute name is preceded by whitespace
              at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
              at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408)
              at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89)
              at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:324)
              at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:357)
              at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:467)
              at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1425)
              at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1662)
              at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1002)
              at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1274)
              at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1450)
              at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1662)
              at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1002)
              at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1274)
              at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1450)
              at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1662)
              at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1002)
              at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1274)
              at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1450)
              at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1662)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                byran.zaugg Byran Zaugg (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 9 weeks, 6 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.X EE