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

Manually adding Data Definition Source throws an Exception

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.2.0 CE B3
    • Fix Version/s: None
    • Component/s: Dynamic Data Lists
    • Labels:
      None
    • Environment:
      Ubuntu 13.04 on Firefox with Java 1.7.0_21, MySQL 5.5, Tomcat 7.0.39, and Portal CE (GitID: 48af2ec45d915e34d3044988043760898904b84f )

      Description

      Steps to reproduce:
      0. Download and compile Portal CE (48af2ec45d915e34d3044988043760898904b84f )
      1. Add Dynamic Data List Display to the page.
      2. Click "Add List".
      3. Enter a name and click "Select" to select a Data Definition.
      4. Click "Add" to add a new definition.
      5. Type a name and then click on "Source" to manually add source.
      6. Delete the default text: <root available-locales="en_US" default-locale="en_US"></root>
      7. Add the following character: #
      8. Click "Save".
      9. The page responds with "Your request failed to complete".

      Notice the following exception on Tomcat:

      12:30:30,966 ERROR [http-apr-8080-exec-13][IncludeTag:92] Current URL /web/32/test?p_auth=Nu5rIEIu&p_p_id=166&p_p_lifecycle=1&p_p_state=pop_up&p_p_mode=view&doAsGroupId=32&_166_refererPortletName=167&_166_refererWebDAVToken=dynamic_data_lists&_166_scopeTitle=Data+Definitions&_166_struts_action=%2Fdynamic_data_mapping%2Fedit_structure&_166_showGlobalScope=true generates exception: com.liferay.portal.kernel.exception.SystemException
      com.liferay.portal.kernel.exception.SystemException
      at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getJSONArray(DDMXSDImpl.java:441)
      at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88)
      at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56)
      at com.liferay.portlet.dynamicdatamapping.util.DDMXSDUtil.getJSONArray(DDMXSDUtil.java:146)
      at org.apache.jsp.html.portlet.dynamic_005fdata_005fmapping.edit_005fstructure_jsp._jspService(edit_005fstructure_jsp.java:714)
      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.java: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:82)
      at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3048)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      12:31:00,769 WARN [http-apr-8080-exec-17][code_jsp:152]

      {code="404", msg="/html/themes/classic/images/dynamic_data_mapping/textarea.png", uri=/html/themes/classic/images/dynamic_data_mapping/textarea.png}

      12:31:00,773 WARN [http-apr-8080-exec-3][code_jsp:152]

      {code="404", msg="/html/themes/classic/images/dynamic_data_mapping/hyperlink.png", uri=/html/themes/classic/images/dynamic_data_mapping/hyperlink.png}

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            james.lefeu James Lefeu (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, 18 weeks, 4 days ago

                Packages

                Version Package