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

Layout with 1 column Throws "String index out of range: -1"

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE RC6
    • Fix Version/s: 7.0.0 M3
    • Labels:
      None
    • Environment:
      Windows 7 64 bits. MySQL 5, imported from Liferay 6 GA3. Java 7u45

      Description

      I set to 1 columns in a Site Page.
      Log show:
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(String.java:1875)
      at org.apache.jsp.html.portlet.layouts_005fadmin.edit_005flayout_jsp._jspService(edit_005flayout_jsp.java:1941)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper
      .java:78)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.ja
      va:53)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
      at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
      ....

      And the content's page don't show.

        Attachments

          Activity

            People

            Assignee:
            mika.koivisto Mika Koivisto
            Reporter:
            diesil Diego Silva
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 3 days ago

                Packages

                Version Package
                7.0.0 M3