-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, Master
-
Component/s: Dynamic Data Lists
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:5
-
Sprint:F&W Sprint 3
-
Git Pull Request:
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
- Go to Liferay DXP > Contents > Dynamic Data Lists
- Add two Dynamic Data Lists (you can use any of the OOTB data definitions – I used "To Do")
- After saving the two lists, in the Dynamic Data Lists content view, click the checkbox above the entries to select all
- Open up your browser console
- 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