Needs work
Project:
Drupal core
Version:
main
Component:
ajax system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Oct 2009 at 10:27 UTC
Updated:
20 Mar 2020 at 16:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
peximo commentedWrong args are passed to node_multiple_delete_confirm().
Comment #2
sivaji_ganesh_jojodae commentedThe above patch works fine for me.
Comment #3
jim0203 commentedWorks fine for me too. $form wasn't being passed to node_multiple_delete_confirm(); this patch fixes that. RTBC.
Comment #4
dries commentedCommitted to CVS HEAD, but we need to follow-up with a test.
Comment #5
peximo commentedAdded tests for single and multiple deletion for both pages and articles.
Comment #6
peximo commentedSorry the previous patch has an uncorrect comment due to cut and paste.
Comment #7
cosmicdreams commented#6: node_multiple_delete-607100-6.patch queued for re-testing.
Comment #9
sivaji_ganesh_jojodae commentedAttached patch adds test for node delete.
Comment #10
moshe weitzman commentedComment #11
codesmithApplied patch and tested -> no errors. Ran coder module -> no problems found. Reviewed logic and seems fine. Noticed that the "single node deletion" tests deletion of different node types (article and page) whereas "multiple node deletion" tests deletion of multiple nodes - but they're all of a single node type (article). I think this is minor but just thought I'd mention.
Comment #12
klausiThis does not seem right, if there are other nodes already there the test will fail. Or can we assume that the node table is always empty when simpletest runs?
Powered by Dreditor.
Comment #13
avpadernoI changed how the test checks if the nodes are created, and if the nodes has been deleted.
Comment #15
avpadernoI re-rolled the patch, which didn't apply anymore.
Comment #16
IcanDivideBy0 commented#6: node_multiple_delete-607100-6.patch queued for re-testing.
Comment #17
klausipunctuation missing, comment should start with capital letter
punctuation is missing.
should be nodes (plural)
punctuation is missing
79 critical left. Go review some!
Comment #18
avpadernoI changed the comments, and the output of one test.
Comment #20
avpadernoI re-rolled the patch, which was not applying anymore.
Comment #22
avpaderno#20: 607100_node_delete_test_new_version.patch queued for re-testing.
Comment #24
avpadernoNever create patches if you didn't sleep enough.
Comment #26
avpaderno#24: 607100_node_delete_test_crfng.patch queued for re-testing.
Comment #28
avpadernoI re-rolled the patch once again.
Comment #29
damien tournoud commentedCould we please use the nids instead of the titles to check for deleted nodes? Titles are not unique, and checking the nids will remove a few lines from the test.
Comment #31
avpadernoI changed the patch as suggested.
Comment #32
thedavidmeister commentedPulling these tests through to D8 as they're likely still useful there.
+ * Test multiple node delete from admin/content pageshould end with a full stop.