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

Document and Media library, adding or editing Document Types Save is failing.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE M3
    • Fix Version/s: 6.2.0 CE M3
    • Component/s: Documents & Media
    • Labels:
      None
    • Environment:
      Ubuntu 12.10, tomcat 7.0.27, MySQL 5, Chrome and Firefox

      Description

      Bug has been produced from 6.2.x git id : a4076e2b170d4b627bea9a95399cb0f955501c57

      To reproduce this problem:

      A = Action
      R = expected result.

      Environment:

      Empty Liferay installation.

      1A: Go to control panel and open Documentand media.
      1R: Document and media is open.

      2A: Click "Manage" → "Document types"
      2R: "Document types" popup opens.

      3A: Click "Add"
      3R: Window changes to "New Document Type"

      3A: Fill the fields:
      "Name:" "New field"
      "Description:" "new Field"
      Add "Text" main data metadata field, with value "My Field"
      Click "Save"
      3R: Some indication that save succeed -> but nothing happens at UI and errors comes to browsers javascript console

      Chrome logs: contains following:

      Uncaught TypeError: Object #<HTMLDivElement> has no method 'getXSD' manage:1
      (anonymous function) manage:1
      onclick

      Firefox logs: contains following:

      Timestamp: 12/17/2012 04:10:16 PM
      Error: TypeError: window._20_formBuilder is undefined
      Source File: http://localhost:8080/group/control_panel/manage?p_p_id=20&p_p_lifecycle=0&p_p_state=pop_up&p_p_mode=view&doAsGroupId=10482&refererPlid=10491&controlPanelCategory=portlet_20&_20_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D20%26p_p_lifecycle%3D0%26p_p_state%3Dpop_up%26p_p_mode%3Dview%26doAsGroupId%3D10482%26refererPlid%3D10491%26controlPanelCategory%3Dportlet_20%26_20_struts_action%3D%252Fdocument_library%252Fview_file_entry_type&_20_struts_action=%2Fdocument_library%2Fedit_file_entry_type
      Line: 1

        Attachments

          Activity

            People

            Assignee:
            sampsa.sohlman Sampsa Sohlman (Inactive)
            Reporter:
            sampsa.sohlman Sampsa Sohlman (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:
              7 years, 45 weeks, 3 days ago

                Packages

                Version Package
                6.2.0 CE M3