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

OpenSocial Gadget Editor's TreeView errors when adding a new folder immediately after removing a folder.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE RC5
    • Fix Version/s: 6.2.X EE, 7.0.0 M1
    • Labels:
    • Environment:
      Tomcat 7 + HSQL. Plugins 6.2.x CE. Git ID: 9427c52a38d630ea20fc4559f1e84a2872bfebbb
      Tomcat 7 + HSQL. Portal 6.2.x CE. Git ID: 280c84edb89311fa4ab81ab0abea459eb87ee113

      Description

      IMPORTANT: This bug isn't apparent until LPS-41298 / AUI-989 is in place.

      Replication Steps:

      1. Deploy OpenSocial portlet: portlets/opensocial-portlet
      2. Go to: Admin > Site Administration > Content > OpenSocial Gadget Editor
      3. Add nested folders: Folder 1 > Folder 2 > Folder 3
      4. Be sure Folder 3 is selected.
      5. In Folder 3's menu, click: Delete.
      6. Create new folder using the top menu bar.

      Expected Results:

      • (step 5) When Folder 3 is selected when it's deleted, Folder 2, (Parent TreeNode) should be selected after Folder 3 is removed from the UI.
      • (step 6) A new folder should be created under Folder 2.

      Actual Results:

      • See: add node broken.gif
      • (step 5) When Folder 3 is selected when it's deleted, no folders are selected when Folder 3 is removed from the UI.
      • (step 6) Javascript throws an error because no node is selected to call appendChild against.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              he.song Serena Song (Inactive)
              Reporter:
              byran.zaugg Byran Zaugg (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 35 weeks ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M1