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

Unable to delete multiple Dynamic Data Lists

    Details

      Description

      Summary
      After adding a few Dynamic Data Lists, then using the check box (select all), then finally moving multiple entries to Recycle Bin, the deletion does not occur, and a javascript error is thrown in the browser console.

      Steps to Reproduce

      1. Go to Liferay DXP > Contents > Dynamic Data Lists
      2. Add two Dynamic Data Lists (you can use any of the OOTB data definitions – I used "To Do")
      3. After saving the two lists, in the Dynamic Data Lists content view, click the checkbox above the entries to select all
      4. Open up your browser console
      5. Click the Recycle Bin icon to delete the two entries

      Actual Result
      Notice that the popout confirmation window "Are you sure you want to delete this? It will be deleted immediately." is shown twice in succession, and a Javascript exception is thrown:

      Uncaught TypeError: form.queryStrong is not a function
          at Object.deleteRecordSets (manage?p_p_id=com_li..._auth=siZ97CF2:1250)
          at ManagementToolbar.<anonymous> (manage?p_p_id=com_li..._auth=siZ97CF2:1252)
          at ManagementToolbar.runListeners_ (?browserId=other&min...5/lib/all/dom.js:57)
          at ManagementToolbar.emit (?browserId=other&min...feray/init.es.js:25)
          at EventEmitterProxy.emitOnTarget_ (?browserId=other&min...5/lib/all/dom.js:63)
          at ClayManagementToolbar.runListeners_ (?browserId=other&min...5/lib/all/dom.js:57)
          at ClayManagementToolbar.emit (?browserId=other&min...feray/init.es.js:25)
          at ClayManagementToolbar._handleQuickActionClicked (?browserId=other&min...entToolbar.es.js:10)
          at triggerListeners_ (?browserId=other&min.../lib/all/dom.js:110)
          at triggerElementListeners_ (?browserId=other&min.../lib/all/dom.js:109)

      Expected Behavior
      All entries are deleted with one single popout confirmation.

      Reproduced In
      7.1.x private Commit: 40d9e186b7f81ae2c027e7e89fdb1ad890d6eb9f

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 1 week, 2 days ago

                Packages

                Version Package
                7.1.X
                Master