Closed (fixed)
Project:
Domain
Version:
6.x-1.1
Component:
- Domain Content
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2008 at 05:08 UTC
Updated:
23 Sep 2008 at 15:22 UTC
Problem:
The confirmation page genaretes these warnings
* warning: Missing argument 2 for node_multiple_delete_confirm() in C:\www\drupal\modules\node\node.admin.inc on line 604.
* warning: Invalid argument supplied for foreach() in C:\www\drupal\modules\node\node.admin.inc on line 608.
Cause:
node_multiple_delete_confirm() in D6 requires argument
Solution:
simple patch attached
| Comment | File | Size | Author |
|---|---|---|---|
| domain_content.admin_.inc_.patch | 786 bytes | ariflukito |
Comments
Comment #1
agentrickardThanks. Will test later. Is this, by chance, related to #301244: Content on admin/domain/content/* and admin/domain/content is visible to anonymous users?
Comment #2
ariflukito commentedNo I don't think it's related
but I can confirm the bug
Comment #3
agentrickardI think this is a batch permissions issue. I would be that only users who can 'administer nodes' can batch delete. We should probably sanitize the action dropdown based on that.
Comment #4
ariflukito commentedI got that error even trying to delete 1 node only and I was logged in as administrator will all rights. I'm pretty sure it's not permission issue.
Comment #5
agentrickardAh -- looking at the actual patch, this becomes clear. Too much travel for me. Code looks good, though I wonder if the $_POST is necessary here -- bad Drupal form to grab variables from the POST. (THough I suspect this is what core does in this case.)
Comment #6
agentrickardNice patch. Committed.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.