Download & Extend

Checkbox "select all" is broken on node and comment listing tables in /admin

Project:Drupal core
Version:7.x-dev
Component:comment.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

When trying to e.g. unpublish all nodes from /admin/content by activating the checkbox "Select all rows in this table" in the table header and then choosing the update option from the select field above, only the first item from the table is actually processed.

The remaining nodes/comments retain their previous status.

This happens with both nodes and comments.

I didn't know which component this really belongs into, so I selected "base system". Feel free to assign to the appropriate component.

Comments

#1

Component:base system» comment.module
Priority:critical» normal

Confirm this bug with comments but not nodes, also this is not critical

#2

Status:active» needs review

Bug caused by query condition which was not cleared after every operation

Patch to test

- query-conditions() are cleared after every comment operation
- test for approved comments are expanded to check for mass-operations

AttachmentSizeStatusTest resultOperations
729628-comment-admin-d7.patch6.1 KBIdlePASSED: [[SimpleTest]]: [MySQL] 18,219 pass(es).View details | Re-test

#3

Status:needs review» closed (duplicate)

Duplicate of #699596: (Un)publishing several comments doesn't work