Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2006 at 16:57 UTC
Updated:
7 Nov 2006 at 20:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
flk commentedthe error seems to occur only when trying to delete a comment....on 'unplish the selected comment' no error occurs.
I have rerolled it against ahead...it does what it says, but on todays head multi-comment delete seems to be broken b0rked.
Comment #2
edmund.kwok commentedYeah, forgot to mention that it only happens with delete comments and not unpublished. Checking if comments were selected is done in comment_admin_overview_validate. But when deleting comments, the comment_multiple_delete_confirm() form is returned instead. Thus comment_admin_overview_validate is not called and hence the error.
Patch was already rolled againts head. The multi-comments delete issue is reported in http://drupal.org/node/82940.
Comment #3
edmund.kwok commentedIssue still applies to HEAD. Rerolling patch, and removed some whitespace.
Comment #4
Kjartan commentedI looked at how node.module did this check and replicated it in comment.module.
Comment #5
edmund.kwok commentedTested on fresh HEAD, much cleaner approach :)
I'd say RTBC since it's a breaks the comment page somewhat but with an easy fix.
Comment #6
dries commentedCommitted to CVS HEAD.
Comment #7
(not verified) commented